|
I guess the screen is white in default, so I think I just need to set the whole screen into black.
Unfortunately, it doesn't work.
Here is my code, hope u could check it.
I appreciate it.
@24576
D=M
@m
M=D
@16384
D=A
@arr
M=D
@8192
D=A
@n
M=D
@i
M=0
@m
D=M
@END
D;JEQ
(LOOP)
@i
D=M
@n
D=D-M
@END
D;JEQ
@arr
D=M
@i
A=D+M
M=-1
@i
M=M+1
@LOOP
0;JMP
(END)
@END
0;JMP
|