2024-11-04 12:18:37 -06:00
|
|
|
main:
|
2024-11-15 15:35:03 -06:00
|
|
|
ADDI64 r254, r254, -32d
|
|
|
|
ST r31, r254, 0a, 32h
|
2024-11-04 12:18:37 -06:00
|
|
|
JAL r31, r0, :opaque
|
2024-11-15 15:35:03 -06:00
|
|
|
CP r33, r1
|
2024-11-04 12:18:37 -06:00
|
|
|
JAL r31, r0, :opaque
|
2024-11-15 15:35:03 -06:00
|
|
|
JNE r33, r0, :0
|
|
|
|
CP r32, r0
|
2024-11-04 12:18:37 -06:00
|
|
|
JMP :1
|
2024-11-15 15:35:03 -06:00
|
|
|
0: LD r32, r33, 0a, 8h
|
2024-11-13 03:28:16 -06:00
|
|
|
1: JEQ r33, r0, :2
|
2024-11-15 15:35:03 -06:00
|
|
|
LD r32, r33, 0a, 8h
|
2024-11-04 12:18:37 -06:00
|
|
|
JMP :2
|
2024-11-15 15:35:03 -06:00
|
|
|
2: CP r1, r32
|
|
|
|
LD r31, r254, 0a, 32h
|
|
|
|
ADDI64 r254, r254, 32d
|
2024-11-04 12:18:37 -06:00
|
|
|
JALA r0, r31, 0a
|
|
|
|
opaque:
|
2024-11-13 03:28:16 -06:00
|
|
|
CP r1, r0
|
2024-11-04 12:18:37 -06:00
|
|
|
JALA r0, r31, 0a
|
2024-11-16 06:42:17 -06:00
|
|
|
code size: 150
|
2024-11-04 12:18:37 -06:00
|
|
|
ret: 0
|
|
|
|
status: Ok(())
|