2024-10-20 14:00:56 -05:00
|
|
|
main:
|
2024-10-26 06:43:36 -05:00
|
|
|
ADDI64 r254, r254, -24d
|
|
|
|
ST r31, r254, 16a, 8h
|
|
|
|
ADDI64 r3, r254, 0d
|
2024-10-25 17:34:22 -05:00
|
|
|
LI64 r4, 0d
|
2024-10-20 14:00:56 -05:00
|
|
|
CP r3, r4
|
|
|
|
JAL r31, r0, :maina
|
2024-10-26 06:43:36 -05:00
|
|
|
ST r1, r254, 0a, 16h
|
2024-10-27 07:57:00 -05:00
|
|
|
LD r8, r254, 12a, 1h
|
|
|
|
LD r9, r254, 3a, 1h
|
|
|
|
SUB8 r11, r9, r8
|
|
|
|
ANDI r1, r11, 255d
|
2024-10-26 06:43:36 -05:00
|
|
|
LD r31, r254, 16a, 8h
|
|
|
|
ADDI64 r254, r254, 24d
|
2024-10-20 14:00:56 -05:00
|
|
|
JALA r0, r31, 0a
|
|
|
|
maina:
|
2024-10-26 06:43:36 -05:00
|
|
|
ADDI64 r254, r254, -44d
|
|
|
|
ST r31, r254, 36a, 8h
|
2024-10-28 11:19:41 -05:00
|
|
|
ADDI64 r6, r254, 32d
|
2024-10-20 14:00:56 -05:00
|
|
|
JAL r31, r0, :small_struct
|
2024-10-28 11:19:41 -05:00
|
|
|
ST r1, r254, 32a, 4h
|
2024-10-26 06:43:36 -05:00
|
|
|
LI8 r11, 0b
|
2024-10-28 11:19:41 -05:00
|
|
|
ADDI64 r10, r254, 24d
|
|
|
|
ST r11, r254, 24a, 1h
|
|
|
|
ST r11, r254, 25a, 1h
|
|
|
|
ST r11, r254, 26a, 1h
|
2024-10-26 06:43:36 -05:00
|
|
|
LI8 r4, 3b
|
2024-10-28 11:19:41 -05:00
|
|
|
ST r4, r254, 27a, 1h
|
2024-10-26 06:43:36 -05:00
|
|
|
LI8 r7, 1b
|
2024-10-28 11:19:41 -05:00
|
|
|
ST r7, r254, 28a, 1h
|
|
|
|
ST r11, r254, 29a, 1h
|
|
|
|
ST r11, r254, 30a, 1h
|
|
|
|
ST r11, r254, 31a, 1h
|
|
|
|
ADDI64 r2, r254, 0d
|
|
|
|
BMC r10, r2, 8h
|
|
|
|
ADDI64 r5, r2, 8d
|
|
|
|
ADDI64 r4, r254, 16d
|
|
|
|
BMC r10, r5, 8h
|
2024-10-26 06:43:36 -05:00
|
|
|
BMC r10, r4, 8h
|
2024-10-28 11:19:41 -05:00
|
|
|
LD r1, r2, 0a, 16h
|
2024-10-26 06:43:36 -05:00
|
|
|
LD r31, r254, 36a, 8h
|
|
|
|
ADDI64 r254, r254, 44d
|
2024-10-20 14:00:56 -05:00
|
|
|
JALA r0, r31, 0a
|
|
|
|
small_struct:
|
|
|
|
ADDI64 r254, r254, -4d
|
2024-10-25 08:40:23 -05:00
|
|
|
LI16 r2, 0h
|
2024-10-20 14:00:56 -05:00
|
|
|
ADDI64 r3, r254, 0d
|
|
|
|
ST r2, r254, 0a, 2h
|
|
|
|
ST r2, r254, 2a, 2h
|
2024-10-22 03:08:50 -05:00
|
|
|
LD r1, r3, 0a, 4h
|
2024-10-20 14:00:56 -05:00
|
|
|
ADDI64 r254, r254, 4d
|
|
|
|
JALA r0, r31, 0a
|
2024-10-26 06:43:36 -05:00
|
|
|
code size: 514
|
2024-10-20 14:00:56 -05:00
|
|
|
ret: 2
|
|
|
|
status: Ok(())
|