2024-11-12 12:02:29 -06:00
|
|
|
main:
|
|
|
|
ADDI64 r254, r254, -1d
|
2024-11-12 13:42:04 -06:00
|
|
|
LI64 r6, 255d
|
2024-11-13 03:28:16 -06:00
|
|
|
LI8 r1, 1b
|
|
|
|
ST r0, r254, 0a, 1h
|
|
|
|
2: LD r8, r254, 0a, 1h
|
|
|
|
ANDI r10, r8, 255d
|
|
|
|
CMPU r2, r10, r6
|
|
|
|
CMPUI r2, r2, 0d
|
|
|
|
NOT r2, r2
|
|
|
|
CMPU r3, r10, r0
|
2024-11-12 13:42:04 -06:00
|
|
|
CMPUI r3, r3, 0d
|
|
|
|
NOT r3, r3
|
2024-11-13 03:28:16 -06:00
|
|
|
OR r5, r3, r2
|
|
|
|
ANDI r5, r5, 255d
|
|
|
|
JNE r5, r0, :0
|
2024-11-12 12:02:29 -06:00
|
|
|
JMP :1
|
2024-11-13 03:28:16 -06:00
|
|
|
0: SUB8 r1, r0, r1
|
|
|
|
1: ADD8 r2, r8, r1
|
|
|
|
ST r2, r254, 0a, 1h
|
2024-11-12 12:02:29 -06:00
|
|
|
JMP :2
|
|
|
|
ADDI64 r254, r254, 1d
|
|
|
|
JALA r0, r31, 0a
|
|
|
|
timed out
|
2024-11-13 03:28:16 -06:00
|
|
|
code size: 178
|
|
|
|
ret: 1
|
2024-11-12 12:02:29 -06:00
|
|
|
status: Ok(())
|