file problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

file problem

bryan5
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
Reply | Threaded
Open this post in threaded view
|

Re: file problem

WBahn
Administrator
What does it do that it shouldn't or what doesn't it do that it should? Be specific.

What steps have you taken to troubleshoot your program?