2024-02-12 19:42:27 +00:00
|
|
|
MOV $FF0000,%SP
|
2024-02-12 13:43:13 +00:00
|
|
|
MOV $0x0001,%R0l
|
|
|
|
MOV $0x0000,%R0h
|
2024-02-12 19:42:27 +00:00
|
|
|
MOV $0xBEEF,%R1l
|
2024-02-12 13:43:13 +00:00
|
|
|
MOV $0x0000,%R1h
|
2024-02-12 17:51:16 +00:00
|
|
|
CALL $SUBROUTINE
|
|
|
|
CALL $SUBROUTINE
|
|
|
|
CALL $SUBROUTINE
|
2024-02-12 19:42:27 +00:00
|
|
|
CALL $SUBROUTINE2
|
2024-02-12 17:51:16 +00:00
|
|
|
JMP $END
|
|
|
|
:SUBROUTINE
|
2024-02-12 19:42:27 +00:00
|
|
|
PUSH %R1
|
|
|
|
ADD %R0,%R1
|
|
|
|
POP %R1
|
|
|
|
RET
|
|
|
|
:SUBROUTINE2
|
2024-02-12 13:43:13 +00:00
|
|
|
ADD %R0,%R1
|
|
|
|
RET
|
2024-02-12 17:51:16 +00:00
|
|
|
:END
|
2024-02-13 22:37:36 +00:00
|
|
|
MOV $0xFFFC,%R0l
|
|
|
|
MOV $0x00FF,%R0h
|
|
|
|
MOV $0x0068,%R1l
|
|
|
|
MOV $0x0000,%R1h
|
|
|
|
MOV %R1,(%R0)
|
|
|
|
MOV $0x0065,%R1l
|
|
|
|
MOV %R1,(%R0)
|
|
|
|
MOV $0x006c,%R1l
|
|
|
|
MOV %R1,(%R0)
|
|
|
|
MOV $0x006c,%R1l
|
|
|
|
MOV %R1,(%R0)
|
|
|
|
MOV $0x006f,%R1l
|
|
|
|
MOV %R1,(%R0)
|
|
|
|
JMP $000000
|