2024-09-03 15:34:17 -05:00
|
|
|
main:
|
2024-10-17 08:48:22 -05:00
|
|
|
ADDI64 r254, r254, -76d
|
|
|
|
ST r31, r254, 28a, 48h
|
2024-09-16 14:46:02 -05:00
|
|
|
LI64 r32, 511d
|
|
|
|
LI64 r33, 0d
|
2024-09-20 05:03:24 -05:00
|
|
|
ST r33, r254, 0a, 1h
|
2024-09-16 14:46:02 -05:00
|
|
|
LI64 r33, 0d
|
2024-09-20 05:03:24 -05:00
|
|
|
ST r33, r254, 1a, 1h
|
2024-09-16 14:46:02 -05:00
|
|
|
CP r33, r32
|
|
|
|
ANDI r33, r33, 255d
|
2024-09-20 05:03:24 -05:00
|
|
|
ST r33, r254, 2a, 1h
|
|
|
|
CP r33, r32
|
|
|
|
SRUI16 r33, r33, 8b
|
|
|
|
ANDI r33, r33, 255d
|
|
|
|
ST r33, r254, 3a, 1h
|
2024-10-17 08:48:22 -05:00
|
|
|
ADDI64 r33, r254, 0d
|
2024-09-20 05:03:24 -05:00
|
|
|
LI64 r34, 1d
|
2024-10-17 08:48:22 -05:00
|
|
|
ST r34, r254, 4a, 8h
|
2024-09-20 05:03:24 -05:00
|
|
|
LI64 r34, 2d
|
2024-10-17 08:48:22 -05:00
|
|
|
ST r34, r254, 12a, 8h
|
2024-09-20 05:03:24 -05:00
|
|
|
LI64 r34, 4d
|
2024-10-17 08:48:22 -05:00
|
|
|
ST r34, r254, 20a, 8h
|
|
|
|
ADDI64 r34, r254, 4d
|
2024-09-20 05:03:24 -05:00
|
|
|
CP r2, r34
|
2024-09-03 15:34:17 -05:00
|
|
|
JAL r31, r0, :pass
|
2024-09-20 05:03:24 -05:00
|
|
|
CP r34, r1
|
2024-10-17 08:48:22 -05:00
|
|
|
ADDI64 r35, r254, 0d
|
2024-09-20 05:03:24 -05:00
|
|
|
LI64 r36, 3d
|
|
|
|
ADD64 r35, r35, r36
|
|
|
|
CP r36, r0
|
2024-10-17 08:48:22 -05:00
|
|
|
LD r36, r35, 0a, 1h
|
2024-09-20 05:03:24 -05:00
|
|
|
SXT8 r36, r36
|
|
|
|
ADD64 r1, r34, r36
|
2024-10-17 08:48:22 -05:00
|
|
|
LD r31, r254, 28a, 48h
|
|
|
|
ADDI64 r254, r254, 76d
|
2024-09-03 15:34:17 -05:00
|
|
|
JALA r0, r31, 0a
|
|
|
|
pass:
|
2024-09-20 05:03:24 -05:00
|
|
|
ADDI64 r254, r254, -48d
|
|
|
|
ST r31, r254, 0a, 48h
|
2024-09-03 15:34:17 -05:00
|
|
|
CP r32, r2
|
|
|
|
CP r33, r32
|
|
|
|
LI64 r34, 0d
|
|
|
|
MULI64 r34, r34, 8d
|
|
|
|
ADD64 r33, r33, r34
|
|
|
|
LD r34, r33, 0a, 8h
|
|
|
|
CP r33, r32
|
|
|
|
LI64 r35, 1d
|
|
|
|
MULI64 r35, r35, 8d
|
|
|
|
ADD64 r33, r33, r35
|
|
|
|
LD r35, r33, 0a, 8h
|
|
|
|
ADD64 r34, r34, r35
|
2024-09-09 18:15:18 -05:00
|
|
|
CP r33, r32
|
2024-09-20 05:03:24 -05:00
|
|
|
CP r35, r32
|
|
|
|
LI64 r36, 1d
|
|
|
|
MULI64 r36, r36, 8d
|
|
|
|
ADD64 r35, r35, r36
|
|
|
|
LD r36, r35, 0a, 8h
|
|
|
|
MULI64 r36, r36, 8d
|
|
|
|
ADD64 r33, r33, r36
|
|
|
|
LD r36, r33, 0a, 8h
|
|
|
|
ADD64 r1, r34, r36
|
|
|
|
LD r31, r254, 0a, 48h
|
|
|
|
ADDI64 r254, r254, 48d
|
2024-09-03 15:34:17 -05:00
|
|
|
JALA r0, r31, 0a
|
2024-10-17 08:48:22 -05:00
|
|
|
code size: 557
|
|
|
|
ret: 8
|
2024-07-08 11:08:58 -05:00
|
|
|
status: Ok(())
|