36 lines
616 B
Plaintext
36 lines
616 B
Plaintext
add:
|
|
CP r13, r2
|
|
CP r14, r3
|
|
ADD64 r13, r13, r14
|
|
CP r1, r13
|
|
JALA r0, r31, 0a
|
|
add:
|
|
CP r13, r2
|
|
CP r14, r3
|
|
ADD32 r13, r13, r14
|
|
CP r1, r13
|
|
JALA r0, r31, 0a
|
|
main:
|
|
ADDI64 r254, r254, -32d
|
|
ST r31, r254, 0a, 32h
|
|
LI32 r32, 2w
|
|
CP r2, r32
|
|
CP r3, r32
|
|
JAL r31, r0, :add
|
|
CP r32, r1
|
|
LI64 r33, 3d
|
|
LI64 r34, 1d
|
|
CP r2, r34
|
|
CP r3, r33
|
|
JAL r31, r0, :add
|
|
CP r33, r1
|
|
ANDI r32, r32, 4294967295d
|
|
SUB64 r32, r32, r33
|
|
CP r1, r32
|
|
LD r31, r254, 0a, 32h
|
|
ADDI64 r254, r254, 32d
|
|
JALA r0, r31, 0a
|
|
code size: 191
|
|
ret: 0
|
|
status: Ok(())
|