forked from AbleOS/holey-bytes
28 lines
553 B
Plaintext
28 lines
553 B
Plaintext
clobber:
|
|
ADDI64 r254, r254, -16d
|
|
ST r32, r254, 0a, 16h
|
|
CP r13, r2
|
|
LI64 r14, 4d
|
|
ST r14, r13, 0a, 8h
|
|
LD r32, r254, 0a, 16h
|
|
ADDI64 r254, r254, 16d
|
|
JALA r0, r31, 0a
|
|
main:
|
|
ADDI64 r254, r254, -40d
|
|
ST r31, r254, 8a, 32h
|
|
ADDI64 r32, r254, 0d
|
|
LI64 r33, 2d
|
|
ST r33, r254, 0a, 8h
|
|
CP r2, r32
|
|
JAL r31, r0, :clobber
|
|
LD r32, r254, 0a, 8h
|
|
LI64 r33, 4d
|
|
SUB64 r32, r33, r32
|
|
CP r1, r32
|
|
LD r31, r254, 8a, 32h
|
|
ADDI64 r254, r254, 40d
|
|
JALA r0, r31, 0a
|
|
code size: 226
|
|
ret: 0
|
|
status: Ok(())
|