2024-10-17 15:29:09 -05:00
|
|
|
main:
|
2024-10-24 05:28:18 -05:00
|
|
|
ADDI64 r254, r254, -96d
|
|
|
|
ST r31, r254, 64a, 32h
|
2024-10-25 17:34:22 -05:00
|
|
|
LI64 r2, 4d
|
|
|
|
ADDI64 r32, r254, 48d
|
|
|
|
ST r2, r254, 48a, 8h
|
|
|
|
LI64 r33, 3d
|
|
|
|
ST r33, r254, 56a, 8h
|
|
|
|
ADDI64 r34, r254, 0d
|
|
|
|
LD r3, r32, 0a, 16h
|
2024-10-17 15:29:09 -05:00
|
|
|
JAL r31, r0, :odher_pass
|
2024-10-24 03:21:10 -05:00
|
|
|
ST r1, r254, 0a, 16h
|
2024-10-24 05:28:18 -05:00
|
|
|
ADDI64 r11, r254, 16d
|
2024-10-25 17:34:22 -05:00
|
|
|
BMC r32, r11, 16h
|
2024-10-24 03:21:10 -05:00
|
|
|
ADDI64 r2, r254, 32d
|
2024-10-25 17:34:22 -05:00
|
|
|
BMC r34, r2, 16h
|
2024-10-24 03:21:10 -05:00
|
|
|
LD r7, r254, 40a, 8h
|
2024-10-25 17:34:22 -05:00
|
|
|
JNE r7, r33, :0
|
2024-10-17 15:29:09 -05:00
|
|
|
JAL r31, r0, :pass
|
|
|
|
JMP :1
|
|
|
|
0: LI64 r1, 0d
|
2024-10-24 05:28:18 -05:00
|
|
|
1: LD r31, r254, 64a, 32h
|
|
|
|
ADDI64 r254, r254, 96d
|
2024-10-17 15:29:09 -05:00
|
|
|
JALA r0, r31, 0a
|
|
|
|
odher_pass:
|
2024-10-24 02:43:07 -05:00
|
|
|
ADDI64 r254, r254, -16d
|
|
|
|
ST r3, r254, 0a, 16h
|
|
|
|
ADDI64 r3, r254, 0d
|
|
|
|
LD r1, r3, 0a, 16h
|
|
|
|
ADDI64 r254, r254, 16d
|
2024-10-17 15:29:09 -05:00
|
|
|
JALA r0, r31, 0a
|
|
|
|
pass:
|
2024-10-24 02:43:07 -05:00
|
|
|
LD r1, r2, 0a, 8h
|
2024-10-17 15:29:09 -05:00
|
|
|
JALA r0, r31, 0a
|
2024-10-24 03:21:10 -05:00
|
|
|
code size: 334
|
2024-10-24 02:43:07 -05:00
|
|
|
ret: 4
|
2024-10-17 15:29:09 -05:00
|
|
|
status: Ok(())
|