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