Administrator
|
SCREEN is a constant. You need to set a variable in RAM to SCREEN before your loop, use the variable as a pointer to write to the screen,and increment the variable at the bottom of your loop, resetting it when it gets too high.
Variables work just like R0, R1 and R2 in the Mult.asm program, except that you give them a name. Variables that contain pointers need to be loaded into A so that the RAM they point to can be accessed:
@myPointer
A=M
D=M // D = RAM[myPointer]
--Mark
|