holey-bytes/lang/tests/son_tests_conditional_stores.txt
2024-10-24 10:21:10 +02:00

22 lines
363 B
Plaintext

cond:
LI64 r1, 0d
JALA r0, r31, 0a
main:
ADDI64 r254, r254, -16d
ST r31, r254, 8a, 8h
JAL r31, r0, :cond
LI64 r5, 0d
CP r7, r5
JNE r1, r7, :0
CP r5, r7
CP r1, r5
JMP :1
0: LI64 r1, 2d
1: ST r1, r254, 0a, 8h
LD r31, r254, 8a, 8h
ADDI64 r254, r254, 16d
JALA r0, r31, 0a
code size: 147
ret: 0
status: Ok(())