2024-09-03 15:34:17 -05:00
|
|
|
main:
|
2024-09-20 05:03:24 -05:00
|
|
|
ADDI64 r254, r254, -72d
|
|
|
|
ST r31, r254, 48a, 24h
|
2024-09-03 15:34:17 -05:00
|
|
|
LI64 r32, 4d
|
2024-09-09 12:36:53 -05:00
|
|
|
ST r32, r254, 0a, 8h
|
2024-09-03 15:34:17 -05:00
|
|
|
LI64 r32, 1d
|
2024-09-09 12:36:53 -05:00
|
|
|
ST r32, r254, 8a, 8h
|
2024-09-03 15:34:17 -05:00
|
|
|
LI64 r32, 3d
|
2024-09-09 12:36:53 -05:00
|
|
|
ST r32, r254, 16a, 8h
|
|
|
|
ADDI64 r2, r254, 0d
|
2024-09-20 05:03:24 -05:00
|
|
|
ADDI64 r1, r254, 24d
|
2024-09-03 15:34:17 -05:00
|
|
|
JAL r31, r0, :odher_pass
|
2024-09-20 05:03:24 -05:00
|
|
|
LD r32, r254, 40a, 8h
|
2024-09-09 12:36:53 -05:00
|
|
|
LI64 r33, 3d
|
|
|
|
JNE r32, r33, :0
|
2024-09-20 05:03:24 -05:00
|
|
|
ADDI64 r33, r254, 24d
|
2024-09-03 15:34:17 -05:00
|
|
|
CP r2, r33
|
|
|
|
JAL r31, r0, :pass
|
|
|
|
JMP :1
|
|
|
|
0: LI64 r1, 0d
|
2024-09-20 05:03:24 -05:00
|
|
|
1: LD r31, r254, 48a, 24h
|
|
|
|
ADDI64 r254, r254, 72d
|
2024-09-03 15:34:17 -05:00
|
|
|
JALA r0, r31, 0a
|
2024-09-19 06:40:03 -05:00
|
|
|
odher_pass:
|
2024-09-20 05:03:24 -05:00
|
|
|
ADDI64 r254, r254, -40d
|
|
|
|
ST r31, r254, 0a, 40h
|
2024-09-05 04:16:11 -05:00
|
|
|
CP r32, r2
|
2024-09-19 06:40:03 -05:00
|
|
|
CP r33, r1
|
2024-09-20 05:03:24 -05:00
|
|
|
CP r34, r32
|
|
|
|
CP r35, r33
|
|
|
|
BMC r34, r35, 24h
|
|
|
|
LD r31, r254, 0a, 40h
|
|
|
|
ADDI64 r254, r254, 40d
|
2024-09-05 04:16:11 -05:00
|
|
|
JALA r0, r31, 0a
|
2024-09-19 06:40:03 -05:00
|
|
|
pass:
|
2024-09-20 05:03:24 -05:00
|
|
|
ADDI64 r254, r254, -40d
|
|
|
|
ST r31, r254, 0a, 40h
|
2024-09-03 15:34:17 -05:00
|
|
|
CP r32, r2
|
2024-09-20 05:03:24 -05:00
|
|
|
CP r33, r32
|
|
|
|
LD r34, r33, 0a, 8h
|
|
|
|
LD r35, r33, 8a, 8h
|
|
|
|
SUB64 r1, r34, r35
|
|
|
|
LD r31, r254, 0a, 40h
|
|
|
|
ADDI64 r254, r254, 40d
|
2024-09-03 15:34:17 -05:00
|
|
|
JALA r0, r31, 0a
|
2024-09-20 05:03:24 -05:00
|
|
|
code size: 400
|
2024-05-12 06:13:36 -05:00
|
|
|
ret: 3
|
|
|
|
status: Ok(())
|