holey-bytes/lang/tests/son_tests_conditional_stores.txt
2024-11-15 22:35:03 +01:00

20 lines
329 B
Plaintext

cond:
CP r1, r0
JALA r0, r31, 0a
main:
ADDI64 r254, r254, -32d
ST r31, r254, 0a, 32h
JAL r31, r0, :cond
CP r33, r1
CP r32, r0
JNE r33, r32, :0
JMP :1
0: LI64 r32, 2d
1: CP r1, r32
LD r31, r254, 0a, 32h
ADDI64 r254, r254, 32d
JALA r0, r31, 0a
code size: 117
ret: 0
status: Ok(())