21 lines
363 B
Plaintext
21 lines
363 B
Plaintext
|
main:
|
||
|
ADDI64 r254, r254, -16d
|
||
|
ST r31, r254, 0a, 16h
|
||
|
JAL r31, r0, :some_enum
|
||
|
CP r32, r1
|
||
|
ANDI r32, r32, 255d
|
||
|
JNE r32, r0, :0
|
||
|
CP r1, r0
|
||
|
JMP :1
|
||
|
0: LI64 r32, 100d
|
||
|
CP r1, r32
|
||
|
1: LD r31, r254, 0a, 16h
|
||
|
ADDI64 r254, r254, 16d
|
||
|
JALA r0, r31, 0a
|
||
|
some_enum:
|
||
|
CP r1, r0
|
||
|
JALA r0, r31, 0a
|
||
|
code size: 128
|
||
|
ret: 0
|
||
|
status: Ok(())
|