2024-11-12 12:02:29 -06:00
|
|
|
main:
|
|
|
|
ADDI64 r254, r254, -1d
|
|
|
|
LI64 r7, 0d
|
2024-11-12 13:42:04 -06:00
|
|
|
LI64 r6, 255d
|
|
|
|
LI8 r2, 1b
|
|
|
|
LI8 r4, 0b
|
|
|
|
ST r4, r254, 0a, 1h
|
2024-11-12 12:02:29 -06:00
|
|
|
2: LD r9, r254, 0a, 1h
|
2024-11-12 13:42:04 -06:00
|
|
|
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
|
2024-11-12 12:02:29 -06:00
|
|
|
JMP :1
|
2024-11-12 13:42:04 -06:00
|
|
|
0: SUB8 r2, r0, r2
|
|
|
|
1: ADD8 r4, r9, r2
|
|
|
|
ST r4, 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-12 13:42:04 -06:00
|
|
|
code size: 191
|
2024-11-12 12:02:29 -06:00
|
|
|
ret: 0
|
|
|
|
status: Ok(())
|