thank you, now I better understand meaning of # sign in assembler
command. (# indicates a number, if I skip it I will get an address). I
just was a little confused by documentation (as I said I didn't use
assebler before) but Paul explained that $$07 (Motorola), 07h (Intel)
and 0x07 (C) represent an address 07 in hex notation from different
distributors (but represent same value -- in this case an address 07).
If I prefix these numbers with # -- #$$07 (Motorola), #07h and #0x07 I
will get a nuber 07 instead address.
I recompiled asm files with both forms ($$ and 0x) and got exactly the
same lst files.
Jesus Calvino-Fraga wrote:
> The problem is that the # is missing in one of the constructs. For
> mov data, #$$ff
> mov data, #0xff
> results in the same opcodes:
> 0000 75 90 FF 22 mov data, #0xff
> 0003 75 90 FF 23 mov data, #$$ff