2024-09-03 15:34:17 -05:00
|
|
|
main:
|
2024-09-09 18:15:18 -05:00
|
|
|
ADDI64 r254, r254, -40d
|
|
|
|
ST r31, r254, 0a, 40h
|
2024-09-03 15:34:17 -05:00
|
|
|
LI64 r32, 255d
|
|
|
|
LI64 r33, 255d
|
|
|
|
LI64 r34, 255d
|
|
|
|
LI64 r35, 255d
|
2024-09-09 18:15:18 -05:00
|
|
|
CMPS r32, r32, r33
|
2024-09-03 15:34:17 -05:00
|
|
|
CMPUI r32, r32, 0d
|
|
|
|
NOT r32, r32
|
2024-09-09 18:15:18 -05:00
|
|
|
CMPS r34, r34, r33
|
2024-09-03 15:34:17 -05:00
|
|
|
CMPUI r34, r34, 0d
|
|
|
|
NOT r34, r34
|
|
|
|
AND r32, r32, r34
|
|
|
|
CMPS r35, r35, r33
|
|
|
|
CMPUI r35, r35, 0d
|
|
|
|
NOT r35, r35
|
|
|
|
AND r32, r32, r35
|
|
|
|
JEQ r32, r0, :0
|
|
|
|
LI64 r1, 0d
|
|
|
|
JMP :1
|
|
|
|
0: LI64 r1, 1d
|
2024-09-09 18:15:18 -05:00
|
|
|
1: LD r31, r254, 0a, 40h
|
|
|
|
ADDI64 r254, r254, 40d
|
2024-09-03 15:34:17 -05:00
|
|
|
JALA r0, r31, 0a
|
2024-09-09 18:15:18 -05:00
|
|
|
code size: 199
|
2024-09-01 14:07:19 -05:00
|
|
|
ret: 0
|
|
|
|
status: Ok(())
|