forked from AbleOS/holey-bytes
27 lines
513 B
Plaintext
27 lines
513 B
Plaintext
drop:
|
|
JALA r0, r31, 0a
|
|
main:
|
|
ADDI64 r254, r254, -48d
|
|
ST r31, r254, 8a, 40h
|
|
LI64 r32, 1d
|
|
ADDI64 r33, r254, 0d
|
|
ADDI64 r34, r33, 8000d
|
|
ADDI64 r34, r34, -8000d
|
|
ST r32, r254, 0a, 8h
|
|
CP r2, r34
|
|
JAL r31, r0, :modify
|
|
CP r2, r32
|
|
JAL r31, r0, :drop
|
|
LD r35, r34, 0a, 8h
|
|
ADDI64 r1, r35, -2d
|
|
LD r31, r254, 8a, 40h
|
|
ADDI64 r254, r254, 48d
|
|
JALA r0, r31, 0a
|
|
modify:
|
|
LI64 r3, 2d
|
|
ST r3, r2, 0a, 8h
|
|
JALA r0, r31, 0a
|
|
code size: 212
|
|
ret: 0
|
|
status: Ok(())
|