holey-bytes/hblang/tests/son_tests_branch_assignments.txt

19 lines
314 B
Plaintext
Raw Normal View History

2024-09-05 18:17:54 -05:00
main:
2024-09-05 19:42:07 -05:00
ADDI64 r254, r254, -24d
ST r31, r254, 0a, 24h
2024-09-05 18:17:54 -05:00
CP r32, r2
2024-09-05 19:42:07 -05:00
LI64 r1, 1d
JNE r32, r1, :0
2024-09-05 18:17:54 -05:00
JMP :1
2024-09-05 19:42:07 -05:00
0: LI64 r33, 0d
JNE r32, r33, :2
LI64 r1, 2d
JMP :1
2: LI64 r1, 3d
1: LD r31, r254, 0a, 24h
ADDI64 r254, r254, 24d
2024-09-05 18:17:54 -05:00
JALA r0, r31, 0a
2024-09-05 19:42:07 -05:00
code size: 130
2024-09-05 18:17:54 -05:00
ret: 2
status: Ok(())