forked from AbleOS/holey-bytes
21 lines
335 B
Plaintext
21 lines
335 B
Plaintext
main:
|
|
LI64 r2, 8d
|
|
ECA
|
|
LI64 r10, 6d
|
|
LRA r6, r0, :gb
|
|
LI64 r9, 0d
|
|
LD r11, r6, 0a, 8h
|
|
CMPU r12, r11, r9
|
|
CMPUI r12, r12, 0d
|
|
ORI r2, r12, 0d
|
|
ANDI r2, r2, 255d
|
|
JNE r2, r0, :0
|
|
CP r7, r10
|
|
JMP :1
|
|
0: LI64 r7, 1d
|
|
1: SUB64 r1, r7, r10
|
|
JALA r0, r31, 0a
|
|
code size: 142
|
|
ret: 0
|
|
status: Ok(())
|