2024-10-20 14:00:56 -05:00
|
|
|
main:
|
2024-11-05 07:52:30 -06:00
|
|
|
ADDI64 r254, r254, -56d
|
|
|
|
ST r31, r254, 16a, 40h
|
|
|
|
ADDI64 r32, r254, 0d
|
2024-11-13 03:28:16 -06:00
|
|
|
CP r4, r0
|
2024-10-20 14:00:56 -05:00
|
|
|
CP r3, r4
|
|
|
|
JAL r31, r0, :maina
|
2024-11-14 13:25:52 -06:00
|
|
|
ST r1, r32, 0a, 16h
|
2024-11-05 07:52:30 -06:00
|
|
|
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
|
2024-10-20 14:00:56 -05:00
|
|
|
JALA r0, r31, 0a
|
|
|
|
maina:
|
2024-11-13 03:28:16 -06:00
|
|
|
ADDI64 r254, r254, -60d
|
|
|
|
ST r31, r254, 20a, 40h
|
2024-11-05 07:52:30 -06:00
|
|
|
ADDI64 r32, r254, 16d
|
2024-10-20 14:00:56 -05:00
|
|
|
JAL r31, r0, :small_struct
|
2024-11-14 13:25:52 -06:00
|
|
|
ST r1, r32, 0a, 4h
|
2024-11-13 03:28:16 -06:00
|
|
|
ADDI64 r33, r254, 0d
|
|
|
|
ST r0, r254, 0a, 1h
|
|
|
|
ST r0, r254, 1a, 1h
|
|
|
|
ST r0, r254, 2a, 1h
|
|
|
|
LI8 r34, 3b
|
|
|
|
ST r34, r254, 3a, 1h
|
|
|
|
LI8 r35, 1b
|
|
|
|
ST r35, r254, 4a, 1h
|
|
|
|
ST r0, r254, 5a, 1h
|
|
|
|
ST r0, r254, 6a, 1h
|
|
|
|
ST r0, r254, 7a, 1h
|
|
|
|
ST r0, r254, 8a, 1h
|
|
|
|
ST r0, r254, 9a, 1h
|
|
|
|
ST r0, r254, 10a, 1h
|
|
|
|
ST r34, r254, 11a, 1h
|
|
|
|
ST r35, r254, 12a, 1h
|
|
|
|
ST r0, r254, 13a, 1h
|
|
|
|
ST r0, r254, 14a, 1h
|
|
|
|
ST r0, r254, 15a, 1h
|
|
|
|
LD r1, r33, 0a, 16h
|
|
|
|
LD r31, r254, 20a, 40h
|
|
|
|
ADDI64 r254, r254, 60d
|
2024-10-20 14:00:56 -05:00
|
|
|
JALA r0, r31, 0a
|
|
|
|
small_struct:
|
|
|
|
ADDI64 r254, r254, -4d
|
|
|
|
ADDI64 r3, r254, 0d
|
2024-11-13 03:28:16 -06:00
|
|
|
ST r0, r254, 0a, 2h
|
|
|
|
ST r0, 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-11-13 03:28:16 -06:00
|
|
|
code size: 556
|
2024-10-20 14:00:56 -05:00
|
|
|
ret: 2
|
|
|
|
status: Ok(())
|