2024-10-19 12:37:02 -05:00
|
|
|
main:
|
2024-11-17 03:06:10 -06:00
|
|
|
ADDI64 r254, r254, -56d
|
|
|
|
ST r31, r254, 24a, 32h
|
2024-10-28 10:18:53 -05:00
|
|
|
LI64 r32, 1d
|
2024-11-15 15:35:03 -06:00
|
|
|
ADDI64 r33, r254, 0d
|
2024-10-28 10:18:53 -05:00
|
|
|
ST r32, r254, 0a, 8h
|
2024-11-15 15:35:03 -06:00
|
|
|
LI64 r34, 2d
|
|
|
|
ST r34, r254, 8a, 8h
|
2024-11-05 07:52:30 -06:00
|
|
|
LI64 r34, 4d
|
|
|
|
ST r34, r254, 16a, 8h
|
2024-11-15 15:35:03 -06:00
|
|
|
CP r2, r33
|
2024-10-19 12:37:02 -05:00
|
|
|
JAL r31, r0, :pass
|
2024-11-15 15:35:03 -06:00
|
|
|
CP r33, r1
|
|
|
|
ADD64 r32, r33, r32
|
|
|
|
CP r1, r32
|
2024-11-17 03:06:10 -06:00
|
|
|
LD r31, r254, 24a, 32h
|
|
|
|
ADDI64 r254, r254, 56d
|
2024-10-19 12:37:02 -05:00
|
|
|
JALA r0, r31, 0a
|
|
|
|
pass:
|
2024-11-15 15:35:03 -06:00
|
|
|
CP r13, r2
|
|
|
|
LD r14, r13, 8a, 8h
|
|
|
|
MULI64 r15, r14, 8d
|
|
|
|
LD r16, r13, 0a, 8h
|
|
|
|
ADD64 r13, r15, r13
|
|
|
|
ADD64 r14, r14, r16
|
|
|
|
LD r13, r13, 0a, 8h
|
|
|
|
ADD64 r13, r13, r14
|
|
|
|
CP r1, r13
|
2024-10-19 12:37:02 -05:00
|
|
|
JALA r0, r31, 0a
|
2024-11-17 03:06:10 -06:00
|
|
|
code size: 246
|
2024-10-19 12:37:02 -05:00
|
|
|
ret: 8
|
|
|
|
status: Ok(())
|