holey-bytes/lang/tests/son_tests_inline_test.txt

30 lines
517 B
Plaintext
Raw Normal View History

main:
2024-11-15 15:35:03 -06:00
ADDI64 r254, r254, -24d
ST r31, r254, 0a, 24h
2024-10-24 02:43:07 -05:00
JAL r31, r0, :scalar_values
2024-11-15 15:35:03 -06:00
CP r32, r1
JEQ r32, r0, :0
LI64 r32, 1d
CP r1, r32
JMP :1
0: JAL r31, r0, :structs
2024-11-15 15:35:03 -06:00
CP r32, r1
JEQ r32, r0, :2
2024-10-24 02:43:07 -05:00
JAL r31, r0, :structs
2024-11-15 15:35:03 -06:00
CP r32, r1
CP r1, r32
2024-10-24 02:43:07 -05:00
JMP :1
2024-11-13 03:28:16 -06:00
2: CP r1, r0
2024-11-15 15:35:03 -06:00
1: LD r31, r254, 0a, 24h
ADDI64 r254, r254, 24d
2024-10-24 02:43:07 -05:00
JALA r0, r31, 0a
scalar_values:
2024-11-13 03:28:16 -06:00
CP r1, r0
2024-10-24 02:43:07 -05:00
JALA r0, r31, 0a
structs:
2024-11-13 03:28:16 -06:00
CP r1, r0
2024-10-23 05:26:07 -05:00
JALA r0, r31, 0a
2024-11-15 15:35:03 -06:00
code size: 164
ret: 0
status: Ok(())