2024-11-12 10:11:39 -06:00
|
|
|
decide:
|
2024-11-17 03:06:10 -06:00
|
|
|
ADDI64 r254, r254, -24d
|
2024-11-15 15:35:03 -06:00
|
|
|
CP r14, r2
|
|
|
|
CP r15, r1
|
|
|
|
ADDI64 r13, r254, 0d
|
|
|
|
ST r14, r254, 0a, 8h
|
2024-11-13 03:28:16 -06:00
|
|
|
ST r0, r254, 8a, 8h
|
|
|
|
ST r0, r254, 16a, 8h
|
2024-11-15 15:35:03 -06:00
|
|
|
BMC r13, r15, 24h
|
2024-11-17 03:06:10 -06:00
|
|
|
ADDI64 r254, r254, 24d
|
2024-11-12 10:11:39 -06:00
|
|
|
JALA r0, r31, 0a
|
|
|
|
main:
|
2024-11-17 03:06:10 -06:00
|
|
|
ADDI64 r254, r254, -120d
|
|
|
|
ST r31, r254, 72a, 48h
|
2024-11-12 10:11:39 -06:00
|
|
|
ADDI64 r32, r254, 48d
|
2024-11-13 03:28:16 -06:00
|
|
|
CP r2, r0
|
2024-11-12 10:11:39 -06:00
|
|
|
CP r1, r32
|
|
|
|
JAL r31, r0, :decide
|
2024-11-15 15:35:03 -06:00
|
|
|
ADDI64 r34, r254, 24d
|
|
|
|
BMC r32, r34, 24h
|
2024-11-16 06:42:17 -06:00
|
|
|
LI64 r35, 1d
|
|
|
|
CP r2, r35
|
2024-11-15 15:35:03 -06:00
|
|
|
CP r1, r34
|
2024-11-12 10:11:39 -06:00
|
|
|
JAL r31, r0, :decide
|
2024-11-15 15:35:03 -06:00
|
|
|
ADDI64 r36, r254, 0d
|
|
|
|
BMC r32, r36, 24h
|
|
|
|
LD r32, r254, 24a, 8h
|
|
|
|
LD r33, r254, 0a, 8h
|
|
|
|
ADD64 r32, r33, r32
|
|
|
|
CP r1, r32
|
2024-11-17 03:06:10 -06:00
|
|
|
LD r31, r254, 72a, 48h
|
|
|
|
ADDI64 r254, r254, 120d
|
2024-11-12 10:11:39 -06:00
|
|
|
JALA r0, r31, 0a
|
2024-11-17 03:06:10 -06:00
|
|
|
code size: 273
|
2024-11-12 10:11:39 -06:00
|
|
|
ret: 1
|
|
|
|
status: Ok(())
|