2024-10-20 11:49:41 -05:00
|
|
|
main:
|
|
|
|
ADDI64 r254, r254, -128d
|
|
|
|
LI64 r6, 69d
|
|
|
|
LI64 r5, 128d
|
|
|
|
LI64 r7, 0d
|
|
|
|
ADDI64 r4, r254, 0d
|
2024-10-22 00:20:08 -05:00
|
|
|
2: JLTS r7, r5, :0
|
2024-10-20 14:50:08 -05:00
|
|
|
LD r2, r254, 42a, 1h
|
|
|
|
ANDI r1, r2, 255d
|
2024-10-20 11:49:41 -05:00
|
|
|
JMP :1
|
2024-10-20 14:50:08 -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
|
|
|
|
1: ADDI64 r254, r254, 128d
|
|
|
|
JALA r0, r31, 0a
|
2024-10-20 14:50:08 -05:00
|
|
|
code size: 152
|
2024-10-20 11:49:41 -05:00
|
|
|
ret: 69
|
|
|
|
status: Ok(())
|