程序代写代做代考 assembly Hack Assembly Language A-Instruction

Hack Assembly Language A-Instruction
C-Instructions
@
Loads into the A register
=
puts the result of the computation into
=;
puts the result of the computation into and does a jump based on the result of the computation

does a computation without storing the result
;
does a computation and jumps based on the result of the computation
Dest can be:
Comp can be:
null M
D MD A AM AD AMD
0
1
-1
D
A
M -D -A -M !D !A !M D+1 A+1 M+1
D-1 A-1 M-1 D+A D+M D-A D-M A-D M-D D&A D&M D|A D|M
Jmp can be:
null
No jump
JGT
Jump if result > 0
JEQ
Jump if result = 0
JGE
Jump if result >= 0
JLT
Jump if result < 0 JNE Jump if result<> 0
JLE
Jump if result <= 0 JMP Jump no matter what the result is