holey-bytes/lang/tests/son_tests_inline_test.txt
2024-11-13 10:28:16 +01:00

25 lines
435 B
Plaintext

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