2024-10-20 11:49:41 -05:00
|
|
|
main:
|
2024-10-24 03:21:10 -05:00
|
|
|
ADDI64 r254, r254, -128d
|
|
|
|
LI64 r6, 69d
|
|
|
|
LI64 r5, 128d
|
|
|
|
LI64 r7, 0d
|
|
|
|
ADDI64 r4, r254, 0d
|
2024-10-25 07:51:33 -05:00
|
|
|
2: JLTU r7, r5, :0
|
2024-10-24 03:21:10 -05:00
|
|
|
LD r2, r254, 42a, 1h
|
|
|
|
ANDI r1, r2, 255d
|
2024-10-20 11:49:41 -05:00
|
|
|
JMP :1
|
2024-10-24 03:21:10 -05:00
|
|
|
0: ADDI64 r8, r7, 1d
|
|
|
|
ADD64 r3, r7, r4
|
|
|
|
ST r6, r3, 0a, 1h
|
|
|
|
CP r7, r8
|
2024-10-20 11:49:41 -05:00
|
|
|
JMP :2
|
2024-10-24 03:21:10 -05:00
|
|
|
1: ADDI64 r254, r254, 128d
|
2024-10-20 11:49:41 -05:00
|
|
|
JALA r0, r31, 0a
|
2024-10-24 03:21:10 -05:00
|
|
|
code size: 152
|
2024-10-20 11:49:41 -05:00
|
|
|
ret: 69
|
|
|
|
status: Ok(())
|