holey-bytes/lang/tests/son_tests_pointer_opts.txt
2024-10-27 13:57:00 +01:00

21 lines
388 B
Plaintext

clobber:
LI64 r3, 4d
ST r3, r2, 0a, 8h
JALA r0, r31, 0a
main:
ADDI64 r254, r254, -16d
ST r31, r254, 8a, 8h
ADDI64 r2, r254, 0d
LI64 r3, 2d
ST r3, r254, 0a, 8h
JAL r31, r0, :clobber
LD r8, r254, 0a, 8h
LI64 r9, 4d
SUB64 r1, r9, r8
LD r31, r254, 8a, 8h
ADDI64 r254, r254, 16d
JALA r0, r31, 0a
code size: 169
ret: 0
status: Ok(())