04-01-2011, 07:14 AM
Darkstar Wrote:Also if you do:This is a matter of ambiguity: For the assembler (16384) is also an arithmetical expression. So the above is compiled to:
Asm
ld e, (NN)
End asm
Then the assembler acctepts it and it is there in the generated ASM file and
when you compile it with zbasm it goes through without a hitch but as
there is no such instruction in the Z80A instruction set then the result is
garbage. That one can see in a debugger after the TAP file is loaded.
Code:
asm
ld e, NN
end asm
Pasmo already allows brackets [ ] for memory indirection. Zxbasm will also do (in the near future).