First/test.asm

12 lines
144 B
NASM

MOV $123456,%SP
MOV $0x0001,%R0l
MOV $0x0000,%R0h
MOV $0x0000,%R1l
MOV $0x0000,%R1h
CALL $0x0024
CALL $0x0024
CALL $0x0024
HALT
ADD %R0,%R1
RET