Re: Understanding the Assembler Implementation
Posted by
cadet1620 on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Understanding-the-Assembler-Implementation-tp3157601p3164130.html
Can you write something like D=M;JGT?
Yes, D=M;JGT is legal, but not too useful. RAM[A] is copied to D and if RAM[A] >= 0, A is loaded into the PC.
More useful might be:
@LOOP
D=D-1;JGT
--Mark