11-22-2013, 11:00 PM
einar Wrote:Trying to compile the sub-routine below...This is, again, another corner case for the ZXBASIC preprocessor when entering an ASM context. A' is also a register (hence the confusion). Let me check it...
Code:sub test()
asm
ex af,af' ; A'=player
end asm
end sub
...produces this error message:
Quote:C:\...\zxbasic-1.3.0s1022\dist>zxb test.bas
test.bas:4: Error: illegal preprocessor character '='