holey-bytes/lang/tests/son_tests_inline_test.txt
2024-11-10 18:59:29 +01:00

29 lines
511 B
Plaintext

main:
ADDI64 r254, r254, -32d
ST r31, r254, 0a, 32h
JAL r31, r0, :scalar_values
LI64 r32, 0d
CP r33, r32
JEQ r1, r33, :0
LI64 r1, 1d
JMP :1
0: JAL r31, r0, :structs
CP r34, r33
JEQ r1, r34, :2
JAL r31, r0, :structs
JMP :1
2: CP r1, r34
CP r33, r34
1: LD r31, r254, 0a, 32h
ADDI64 r254, r254, 32d
JALA r0, r31, 0a
scalar_values:
LI64 r1, 0d
JALA r0, r31, 0a
structs:
LI64 r1, 0d
JALA r0, r31, 0a
code size: 182
ret: 0
status: Ok(())