holey-bytes/lang/tests/son_tests_inline_test.txt

25 lines
435 B
Plaintext
Raw Normal View History

main:
2024-11-13 03:28:16 -06:00
ADDI64 r254, r254, -8d
ST r31, r254, 0a, 8h
2024-10-24 02:43:07 -05:00
JAL r31, r0, :scalar_values
2024-11-13 03:28:16 -06:00
JEQ r1, r0, :0
2024-10-24 02:43:07 -05:00
LI64 r1, 1d
JMP :1
0: JAL r31, r0, :structs
2024-11-13 03:28:16 -06:00
JEQ r1, r0, :2
2024-10-24 02:43:07 -05:00
JAL r31, r0, :structs
JMP :1
2024-11-13 03:28:16 -06:00
2: CP r1, r0
1: LD r31, r254, 0a, 8h
ADDI64 r254, r254, 8d
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-13 03:28:16 -06:00
code size: 149
ret: 0
status: Ok(())