Question: please leave comments on each lines , I know the actual answer but I dont know how it works ,so please ,THanks ! What does

please leave comments on each lines , I know the actual answer but I dont know how it works ,so please ,THanks !
What does the following Hack assembler code do?

@15
D=A
@count
M=D
@pix
M=1
(LOOP)
@pix
D=M
M=M+D
M=M+1
@count
M=M-1;
D=M
@LOOP
D;JGT
@pix
D=M
@SCREEN
M=D
(END)
@END
0;JMP

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!