holey-bytes/lang/tests/son_tests_conditional_stores.txt

23 lines
387 B
Plaintext
Raw Normal View History

2024-10-18 06:11:11 -05:00
cond:
LI64 r1, 0d
JALA r0, r31, 0a
main:
2024-10-24 02:43:07 -05:00
ADDI64 r254, r254, -16d
ST r31, r254, 8a, 8h
2024-10-18 06:11:11 -05:00
JAL r31, r0, :cond
2024-10-24 02:43:07 -05:00
LI64 r6, 0d
CP r8, r6
JNE r1, r8, :0
CP r6, r8
CP r1, r6
2024-10-18 06:11:11 -05:00
JMP :1
0: LI64 r1, 2d
2024-10-24 02:43:07 -05:00
1: ADDI64 r8, r254, 0d
ST r1, r254, 0a, 8h
2024-10-24 02:43:07 -05:00
LD r31, r254, 8a, 8h
ADDI64 r254, r254, 16d
2024-10-18 06:11:11 -05:00
JALA r0, r31, 0a
code size: 158
2024-10-18 06:11:11 -05:00
ret: 0
status: Ok(())