First/test.asm

11 lines
134 B
NASM

MOV $0001,%R0l
MOV $0000,%R0h
MOV $0001,%R1l
MOV $0000,%R1h
MOV $0010,%R2l
MOV $0000,%R2h
ADD %R0,%R1
CMP %R1,%R2
JMP,NZ $000018
HALT