holey-bytes/lang/tests/son_tests_pointer_opts.txt
2024-10-26 00:34:22 +02: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 r4, 2d
ST r4, r254, 0a, 8h
JAL r31, r0, :clobber
LD r8, r254, 0a, 8h
LI64 r7, 4d
SUB64 r1, r7, r8
LD r31, r254, 8a, 8h
ADDI64 r254, r254, 16d
JALA r0, r31, 0a
code size: 169
ret: 0
status: Ok(())