15 lines
182 B
NASM
15 lines
182 B
NASM
MOV $123456,%SP
|
|
MOV $0x0001,%R0l
|
|
MOV $0x0000,%R0h
|
|
MOV $0x0000,%R1l
|
|
MOV $0x0000,%R1h
|
|
CALL $SUBROUTINE
|
|
CALL $SUBROUTINE
|
|
CALL $SUBROUTINE
|
|
JMP $END
|
|
:SUBROUTINE
|
|
ADD %R0,%R1
|
|
RET
|
|
:END
|
|
HALT
|