2024-10-21 08:12:37 -05:00
|
|
|
main:
|
|
|
|
LI64 r5, 0d
|
|
|
|
LRA r4, r0, :gb
|
|
|
|
LD r6, r4, 0a, 8h
|
2024-10-22 09:53:48 -05:00
|
|
|
CMPS r9, r6, r5
|
|
|
|
CMPUI r9, r9, 0d
|
|
|
|
ORI r11, r9, 0d
|
|
|
|
LI64 r1, 6d
|
|
|
|
ANDI r11, r11, 255d
|
|
|
|
JNE r11, r0, :0
|
|
|
|
CP r5, r1
|
2024-10-21 08:12:37 -05:00
|
|
|
JMP :1
|
2024-10-22 09:53:48 -05:00
|
|
|
0: LI64 r5, 1d
|
|
|
|
1: SUB64 r1, r5, r1
|
2024-10-21 08:12:37 -05:00
|
|
|
JALA r0, r31, 0a
|
2024-10-22 09:53:48 -05:00
|
|
|
code size: 131
|
2024-10-21 08:12:37 -05:00
|
|
|
ret: 0
|
|
|
|
status: Ok(())
|