2024-10-19 12:37:02 -05:00
|
|
|
main:
|
2024-10-24 03:21:10 -05:00
|
|
|
ADDI64 r254, r254, -36d
|
|
|
|
ST r31, r254, 28a, 8h
|
|
|
|
LI64 r7, 4d
|
|
|
|
LI64 r6, 1d
|
|
|
|
LI64 r5, 2d
|
2024-10-24 09:26:28 -05:00
|
|
|
LI64 r9, 255d
|
2024-10-24 02:43:07 -05:00
|
|
|
LI64 r8, 1d
|
2024-10-24 03:21:10 -05:00
|
|
|
LI64 r10, 0d
|
|
|
|
ADDI64 r12, r254, 0d
|
|
|
|
ST r10, r254, 0a, 1h
|
|
|
|
ST r10, r254, 1a, 1h
|
|
|
|
ST r9, r254, 2a, 1h
|
|
|
|
ST r6, r254, 3a, 1h
|
|
|
|
ADDI64 r2, r254, 4d
|
|
|
|
ST r8, r254, 4a, 8h
|
|
|
|
ST r5, r254, 12a, 8h
|
|
|
|
ST r7, r254, 20a, 8h
|
2024-10-19 12:37:02 -05:00
|
|
|
JAL r31, r0, :pass
|
2024-10-24 03:21:10 -05:00
|
|
|
LD r2, r254, 3a, 1h
|
|
|
|
ANDI r4, r2, 255d
|
|
|
|
ADD64 r1, r1, r4
|
|
|
|
LD r31, r254, 28a, 8h
|
|
|
|
ADDI64 r254, r254, 36d
|
2024-10-19 12:37:02 -05:00
|
|
|
JALA r0, r31, 0a
|
|
|
|
pass:
|
|
|
|
LD r3, r2, 8a, 8h
|
|
|
|
MULI64 r8, r3, 8d
|
|
|
|
ADD64 r10, r8, r2
|
|
|
|
LD r8, r10, 0a, 8h
|
|
|
|
LD r9, r2, 0a, 8h
|
|
|
|
ADD64 r11, r3, r9
|
|
|
|
ADD64 r1, r8, r11
|
|
|
|
JALA r0, r31, 0a
|
2024-10-24 03:21:10 -05:00
|
|
|
code size: 348
|
2024-10-19 12:37:02 -05:00
|
|
|
ret: 8
|
|
|
|
status: Ok(())
|