2024-11-12 12:02:29 -06:00
|
|
|
main:
|
2024-11-17 03:06:10 -06:00
|
|
|
ADDI64 r254, r254, -1d
|
2024-11-23 12:47:17 -06:00
|
|
|
ST r0, r254, 0a, 1h
|
2024-11-15 15:35:03 -06:00
|
|
|
LI64 r14, 255d
|
|
|
|
LI8 r13, 1b
|
|
|
|
2: LD r15, r254, 0a, 1h
|
|
|
|
ANDI r16, r15, 255d
|
|
|
|
CMPU r17, r16, r14
|
|
|
|
CMPUI r17, r17, 0d
|
|
|
|
NOT r17, r17
|
|
|
|
CMPU r16, r16, r0
|
|
|
|
CMPUI r16, r16, 0d
|
|
|
|
NOT r16, r16
|
|
|
|
OR r16, r16, r17
|
|
|
|
ANDI r16, r16, 255d
|
|
|
|
JNE r16, r0, :0
|
2024-11-12 12:02:29 -06:00
|
|
|
JMP :1
|
2024-11-15 15:35:03 -06:00
|
|
|
0: SUB8 r13, r0, r13
|
|
|
|
1: ADD8 r15, r15, r13
|
|
|
|
ST r15, r254, 0a, 1h
|
2024-11-12 12:02:29 -06:00
|
|
|
JMP :2
|
2024-11-17 03:06:10 -06:00
|
|
|
ADDI64 r254, r254, 1d
|
2024-11-12 12:02:29 -06:00
|
|
|
JALA r0, r31, 0a
|
|
|
|
timed out
|
2024-11-17 03:06:10 -06:00
|
|
|
code size: 178
|
2024-11-15 15:35:03 -06:00
|
|
|
ret: 0
|
2024-11-12 12:02:29 -06:00
|
|
|
status: Ok(())
|