2024-09-03 15:34:17 -05:00
|
|
|
add:
|
|
|
|
ADDI64 r254, r254, -24d
|
|
|
|
ST r31, r254, 0a, 24h
|
|
|
|
CP r32, r2
|
|
|
|
CP r33, r3
|
2024-09-09 18:15:18 -05:00
|
|
|
ADD64 r1, r32, r33
|
2024-09-03 15:34:17 -05:00
|
|
|
LD r31, r254, 0a, 24h
|
|
|
|
ADDI64 r254, r254, 24d
|
|
|
|
JALA r0, r31, 0a
|
2024-09-05 04:16:11 -05:00
|
|
|
add:
|
|
|
|
ADDI64 r254, r254, -24d
|
|
|
|
ST r31, r254, 0a, 24h
|
|
|
|
CP r32, r2
|
|
|
|
CP r33, r3
|
2024-09-09 18:15:18 -05:00
|
|
|
ADD32 r1, r32, r33
|
2024-09-05 04:16:11 -05:00
|
|
|
LD r31, r254, 0a, 24h
|
|
|
|
ADDI64 r254, r254, 24d
|
|
|
|
JALA r0, r31, 0a
|
2024-09-19 06:40:03 -05:00
|
|
|
main:
|
|
|
|
ADDI64 r254, r254, -32d
|
|
|
|
ST r31, r254, 0a, 32h
|
|
|
|
LI64 r2, 2d
|
|
|
|
LI64 r3, 2d
|
|
|
|
JAL r31, r0, :add
|
|
|
|
CP r32, r1
|
|
|
|
LI64 r2, 1d
|
|
|
|
LI64 r3, 3d
|
|
|
|
JAL r31, r0, :add
|
|
|
|
CP r33, r1
|
|
|
|
CP r34, r32
|
|
|
|
SXT32 r34, r34
|
|
|
|
SUB64 r1, r34, r33
|
|
|
|
LD r31, r254, 0a, 32h
|
|
|
|
ADDI64 r254, r254, 32d
|
|
|
|
JALA r0, r31, 0a
|
2024-09-09 18:15:18 -05:00
|
|
|
code size: 275
|
2024-06-24 10:26:00 -05:00
|
|
|
ret: 0
|
|
|
|
status: Ok(())
|