forked from AbleOS/holey-bytes
39 lines
739 B
Plaintext
39 lines
739 B
Plaintext
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
|
|
add:
|
|
ADDI64 r254, r254, -24d
|
|
ST r31, r254, 0a, 24h
|
|
CP r32, r2
|
|
CP r33, r3
|
|
ADD64 r1, r32, r33
|
|
LD r31, r254, 0a, 24h
|
|
ADDI64 r254, r254, 24d
|
|
JALA r0, r31, 0a
|
|
add:
|
|
ADDI64 r254, r254, -24d
|
|
ST r31, r254, 0a, 24h
|
|
CP r32, r2
|
|
CP r33, r3
|
|
ADD32 r1, r32, r33
|
|
LD r31, r254, 0a, 24h
|
|
ADDI64 r254, r254, 24d
|
|
JALA r0, r31, 0a
|
|
code size: 275
|
|
ret: 0
|
|
status: Ok(())
|