forked from AbleOS/holey-bytes
37 lines
738 B
Plaintext
37 lines
738 B
Plaintext
main:
|
|
ADDI64 r254, r254, -36d
|
|
ST r31, r254, 28a, 8h
|
|
LI8 r1, 0b
|
|
ST r1, r254, 0a, 1h
|
|
ST r1, r254, 1a, 1h
|
|
LI8 r5, 255b
|
|
ST r5, r254, 2a, 1h
|
|
LI8 r8, 1b
|
|
ST r8, r254, 3a, 1h
|
|
LI64 r11, 1d
|
|
ADDI64 r2, r254, 4d
|
|
ST r11, r254, 4a, 8h
|
|
LI64 r3, 2d
|
|
ST r3, r254, 12a, 8h
|
|
LI64 r6, 4d
|
|
ST r6, r254, 20a, 8h
|
|
JAL r31, r0, :pass
|
|
LD r12, r254, 3a, 1h
|
|
ANDI r2, r12, 255d
|
|
ADD64 r1, r1, r2
|
|
LD r31, r254, 28a, 8h
|
|
ADDI64 r254, r254, 36d
|
|
JALA r0, r31, 0a
|
|
pass:
|
|
LD r4, r2, 8a, 8h
|
|
MULI64 r8, r4, 8d
|
|
LD r5, r2, 0a, 8h
|
|
ADD64 r11, r8, r2
|
|
ADD64 r10, r4, r5
|
|
LD r11, r11, 0a, 8h
|
|
ADD64 r1, r11, r10
|
|
JALA r0, r31, 0a
|
|
code size: 316
|
|
ret: 8
|
|
status: Ok(())
|