I'd like to do some Z80 assembly programming for my TI-83+. I tried using the Z80asm program in Synaptic but it always says there's something wrong with my code. I think I remember doing something before compiling the code with TASM in Windows, so I think that might be the problem. So, how do you all write Z80 programs in Linux?
Here's the code, if you think it might be a problem there:
Code:
#define B_CALL(xxxx) rst 28h \ .dw xxxx
#define B_JUMP(xxxx) call 50h \ .dw xxxx
_clrlcdfull =4540h
_homeup =4558h
.org 9D95h
B_CALL(_homeup)
B_CALL(_clrlcdfull)
ret
.end
END
The errors are all
Code:
error: command or comment expected (was _homeup =4558h )
It has an error for all the lines of code except for ret and END.
Bookmarks