forked from AbleOS/holey-bytes
33 lines
683 B
Plaintext
33 lines
683 B
Plaintext
|
main:
|
||
|
ADDI64 r254, r254, -24d
|
||
|
ST r31, r254, 16a, 8h
|
||
|
LI64 r4, 1024d
|
||
|
LI64 r2, 0d
|
||
|
ADDI64 r3, r254, 0d
|
||
|
ADDI64 r5, r254, 8d
|
||
|
ST r2, r254, 8a, 8h
|
||
|
ST r2, r254, 0a, 8h
|
||
|
CP r2, r5
|
||
|
JAL r31, r0, :set
|
||
|
ANDI r1, r1, 4294967295d
|
||
|
LD r31, r254, 16a, 8h
|
||
|
ADDI64 r254, r254, 24d
|
||
|
JALA r0, r31, 0a
|
||
|
set:
|
||
|
ADDI64 r254, r254, -25d
|
||
|
LI64 r9, 8d
|
||
|
LI64 r8, 5d
|
||
|
ANDI r10, r4, 4294967295d
|
||
|
ADDI64 r1, r254, 0d
|
||
|
ST r8, r254, 0a, 1h
|
||
|
ST r10, r254, 1a, 4h
|
||
|
ST r9, r254, 5a, 4h
|
||
|
ST r2, r254, 9a, 8h
|
||
|
ST r3, r254, 17a, 8h
|
||
|
LD r1, r254, 1a, 4h
|
||
|
ADDI64 r254, r254, 25d
|
||
|
JALA r0, r31, 0a
|
||
|
code size: 309
|
||
|
ret: 1024
|
||
|
status: Ok(())
|