forked from AbleOS/holey-bytes
68 lines
1.4 KiB
Plaintext
68 lines
1.4 KiB
Plaintext
main:
|
|
ADDI64 r254, r254, -76d
|
|
ST r31, r254, 28a, 48h
|
|
LI64 r32, 511d
|
|
LI64 r33, 0d
|
|
ST r33, r254, 0a, 1h
|
|
LI64 r33, 0d
|
|
ST r33, r254, 1a, 1h
|
|
CP r33, r32
|
|
ANDI r33, r33, 255d
|
|
ST r33, r254, 2a, 1h
|
|
CP r33, r32
|
|
SRUI16 r33, r33, 8b
|
|
ANDI r33, r33, 255d
|
|
ST r33, r254, 3a, 1h
|
|
ADDI64 r33, r254, 0d
|
|
LI64 r34, 1d
|
|
ST r34, r254, 4a, 8h
|
|
LI64 r34, 2d
|
|
ST r34, r254, 12a, 8h
|
|
LI64 r34, 4d
|
|
ST r34, r254, 20a, 8h
|
|
ADDI64 r34, r254, 4d
|
|
CP r2, r34
|
|
JAL r31, r0, :pass
|
|
CP r34, r1
|
|
ADDI64 r35, r254, 0d
|
|
LI64 r36, 3d
|
|
ADD64 r35, r35, r36
|
|
CP r36, r0
|
|
LD r36, r35, 0a, 1h
|
|
SXT8 r36, r36
|
|
ADD64 r1, r34, r36
|
|
LD r31, r254, 28a, 48h
|
|
ADDI64 r254, r254, 76d
|
|
JALA r0, r31, 0a
|
|
pass:
|
|
ADDI64 r254, r254, -48d
|
|
ST r31, r254, 0a, 48h
|
|
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
|
|
CP r33, r32
|
|
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
|
|
JALA r0, r31, 0a
|
|
code size: 557
|
|
ret: 8
|
|
status: Ok(())
|