2024-10-21 08:12:37 -05:00
|
|
|
main:
|
|
|
|
LI64 r5, 0d
|
|
|
|
LRA r4, r0, :gb
|
2024-10-24 08:39:38 -05:00
|
|
|
LI64 r10, 6d
|
|
|
|
LD r7, r4, 0a, 8h
|
|
|
|
CMPS r11, r7, r5
|
|
|
|
CMPUI r11, r11, 0d
|
|
|
|
ORI r12, r11, 0d
|
|
|
|
ANDI r12, r12, 255d
|
|
|
|
JNE r12, r0, :0
|
|
|
|
CP r5, r10
|
2024-10-21 08:12:37 -05:00
|
|
|
JMP :1
|
2024-10-22 09:53:48 -05:00
|
|
|
0: LI64 r5, 1d
|
2024-10-24 08:39:38 -05:00
|
|
|
1: SUB64 r1, r5, r10
|
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(())
|