5a7a01ca02
Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
35 lines
710 B
Plaintext
35 lines
710 B
Plaintext
constructor:
|
|
ADDI64 r254, r254, -32d
|
|
ST r31, r254, 16a, 16h
|
|
CP r32, r3
|
|
CP r2, r32
|
|
JAL r31, r0, :opaque
|
|
CP r32, r1
|
|
ST r32, r254, 0a, 8h
|
|
ST r32, r254, 8a, 8h
|
|
LD r1, r254, 0a, 16h
|
|
LD r31, r254, 16a, 16h
|
|
ADDI64 r254, r254, 32d
|
|
JALA r0, r31, 0a
|
|
main:
|
|
ADDI64 r254, r254, -32d
|
|
ST r31, r254, 16a, 16h
|
|
ADDI64 r32, r254, 0d
|
|
CP r3, r0
|
|
JAL r31, r0, :constructor
|
|
ST r1, r32, 0a, 16h
|
|
LD r31, r254, 16a, 16h
|
|
ADDI64 r254, r254, 32d
|
|
JALA r0, r31, 0a
|
|
opaque:
|
|
CP r13, r2
|
|
LRA r14, r0, :file
|
|
ADD64 r13, r14, r13
|
|
LD r13, r13, 0a, 1h
|
|
ANDI r13, r13, 255d
|
|
CP r1, r13
|
|
JALA r0, r31, 0a
|
|
code size: 268
|
|
ret: 255
|
|
status: Ok(())
|