2024-10-22 00:20:08 -05:00
|
|
|
add:
|
|
|
|
ADD64 r1, r2, r3
|
|
|
|
JALA r0, r31, 0a
|
|
|
|
add:
|
|
|
|
ADD32 r1, r2, r3
|
|
|
|
JALA r0, r31, 0a
|
|
|
|
main:
|
2024-11-05 07:52:30 -06:00
|
|
|
ADDI64 r254, r254, -24d
|
|
|
|
ST r31, r254, 0a, 24h
|
2024-10-25 08:40:23 -05:00
|
|
|
LI32 r3, 2w
|
2024-10-22 00:20:08 -05:00
|
|
|
CP r2, r3
|
|
|
|
JAL r31, r0, :add
|
|
|
|
CP r32, r1
|
|
|
|
LI64 r3, 3d
|
|
|
|
LI64 r2, 1d
|
|
|
|
JAL r31, r0, :add
|
2024-11-05 07:52:30 -06:00
|
|
|
ANDI r33, r32, 4294967295d
|
|
|
|
SUB64 r1, r33, r1
|
|
|
|
LD r31, r254, 0a, 24h
|
|
|
|
ADDI64 r254, r254, 24d
|
2024-10-22 00:20:08 -05:00
|
|
|
JALA r0, r31, 0a
|
2024-11-05 07:52:30 -06:00
|
|
|
code size: 158
|
2024-10-22 00:20:08 -05:00
|
|
|
ret: 0
|
|
|
|
status: Ok(())
|