1
0
Fork 0
forked from koniifer/ableos
ableos-framebuffer/hblang/tests/son_tests_branch_assignments.txt

18 lines
297 B
Plaintext
Raw Permalink Normal View History

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