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

23 lines
387 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 r6, 0d
CP r8, r6
JNE r1, r8, :0
CP r6, r8
CP r1, r6
JMP :1
0: LI64 r1, 2d
1: ADDI64 r8, r254, 0d
ST r1, r254, 0a, 8h
LD r31, r254, 8a, 8h
ADDI64 r254, r254, 16d
JALA r0, r31, 0a
code size: 158
ret: 0
status: Ok(())