forked from AbleOS/holey-bytes
30 lines
521 B
Plaintext
30 lines
521 B
Plaintext
main:
|
|
ADDI64 r254, r254, -1d
|
|
LI64 r7, 0d
|
|
LI64 r6, 255d
|
|
LI8 r2, 1b
|
|
LI8 r4, 0b
|
|
ST r4, r254, 0a, 1h
|
|
2: LD r9, r254, 0a, 1h
|
|
ANDI r11, r9, 255d
|
|
CMPU r3, r11, r6
|
|
CMPUI r3, r3, 0d
|
|
NOT r3, r3
|
|
CMPU r5, r11, r7
|
|
CMPUI r5, r5, 0d
|
|
NOT r5, r5
|
|
OR r8, r5, r3
|
|
ANDI r8, r8, 255d
|
|
JNE r8, r0, :0
|
|
JMP :1
|
|
0: SUB8 r2, r0, r2
|
|
1: ADD8 r4, r9, r2
|
|
ST r4, r254, 0a, 1h
|
|
JMP :2
|
|
ADDI64 r254, r254, 1d
|
|
JALA r0, r31, 0a
|
|
timed out
|
|
code size: 191
|
|
ret: 0
|
|
status: Ok(())
|