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