2024-10-20 14:00:56 -05:00
|
|
|
main:
|
|
|
|
ADDI64 r254, r254, -56d
|
|
|
|
ST r31, r254, 16a, 40h
|
|
|
|
LI64 r4, 0d
|
|
|
|
ADDI64 r32, r254, 0d
|
|
|
|
CP r3, r4
|
|
|
|
JAL r31, r0, :maina
|
|
|
|
ST r1, r254, 0a, 16h
|
|
|
|
LD r33, r254, 12a, 1h
|
|
|
|
LD r34, r254, 3a, 1h
|
|
|
|
SUB8 r35, r34, r33
|
|
|
|
ANDI r1, r35, 255d
|
|
|
|
LD r31, r254, 16a, 40h
|
|
|
|
ADDI64 r254, r254, 56d
|
|
|
|
JALA r0, r31, 0a
|
|
|
|
maina:
|
2024-10-21 10:04:29 -05:00
|
|
|
ADDI64 r254, r254, -100d
|
|
|
|
ST r31, r254, 28a, 72h
|
|
|
|
ADDI64 r32, r254, 24d
|
2024-10-20 14:00:56 -05:00
|
|
|
JAL r31, r0, :small_struct
|
2024-10-21 10:04:29 -05:00
|
|
|
LI64 r33, 1d
|
|
|
|
LI64 r34, 3d
|
|
|
|
LI64 r35, 0d
|
|
|
|
ADDI64 r36, r254, 0d
|
|
|
|
ADDI64 r37, r254, 16d
|
|
|
|
ST r35, r254, 16a, 1h
|
|
|
|
ST r35, r254, 17a, 1h
|
|
|
|
ST r35, r254, 18a, 1h
|
|
|
|
ST r34, r254, 19a, 1h
|
|
|
|
ST r33, r254, 20a, 1h
|
|
|
|
ST r35, r254, 21a, 1h
|
|
|
|
ST r35, r254, 22a, 1h
|
|
|
|
ST r35, r254, 23a, 1h
|
2024-10-20 14:00:56 -05:00
|
|
|
LD r38, r254, 16a, 8h
|
2024-10-21 10:04:29 -05:00
|
|
|
ST r38, r254, 0a, 8h
|
|
|
|
LD r39, r254, 16a, 8h
|
|
|
|
ST r39, r254, 8a, 8h
|
|
|
|
LD r1, r36, 0a, 16h
|
|
|
|
LD r31, r254, 28a, 72h
|
|
|
|
ADDI64 r254, r254, 100d
|
2024-10-20 14:00:56 -05:00
|
|
|
JALA r0, r31, 0a
|
|
|
|
small_struct:
|
|
|
|
ADDI64 r254, r254, -4d
|
|
|
|
LI64 r2, 0d
|
|
|
|
ADDI64 r3, r254, 0d
|
|
|
|
ST r2, r254, 0a, 2h
|
|
|
|
ST r2, r254, 2a, 2h
|
|
|
|
LD r1, r254, 0a, 4h
|
|
|
|
ADDI64 r254, r254, 4d
|
|
|
|
JALA r0, r31, 0a
|
2024-10-21 10:04:29 -05:00
|
|
|
code size: 543
|
2024-10-20 14:00:56 -05:00
|
|
|
ret: 2
|
|
|
|
status: Ok(())
|