2024-10-19 03:17:36 -05:00
|
|
|
main:
|
2024-11-15 15:35:03 -06:00
|
|
|
ADDI64 r254, r254, -16d
|
|
|
|
ST r32, r254, 8a, 8h
|
|
|
|
LI64 r13, 10d
|
|
|
|
ST r13, r254, 0a, 8h
|
|
|
|
2: LD r13, r254, 0a, 8h
|
|
|
|
JNE r13, r0, :0
|
|
|
|
CP r1, r13
|
2024-10-19 03:17:36 -05:00
|
|
|
JMP :1
|
2024-11-15 15:35:03 -06:00
|
|
|
0: ADDI64 r13, r13, -1d
|
|
|
|
ST r13, r254, 0a, 8h
|
2024-10-19 03:17:36 -05:00
|
|
|
JMP :2
|
2024-11-15 15:35:03 -06:00
|
|
|
1: LD r32, r254, 8a, 8h
|
|
|
|
ADDI64 r254, r254, 16d
|
2024-10-19 03:17:36 -05:00
|
|
|
JALA r0, r31, 0a
|
2024-11-15 15:35:03 -06:00
|
|
|
code size: 145
|
2024-10-19 03:17:36 -05:00
|
|
|
ret: 0
|
|
|
|
status: Ok(())
|