holey-bytes/lang/tests/son_tests_pointers.txt

27 lines
513 B
Plaintext
Raw Normal View History

2024-09-27 09:53:28 -05:00
drop:
JALA r0, r31, 0a
main:
2024-10-17 15:29:09 -05:00
ADDI64 r254, r254, -56d
ST r31, r254, 8a, 48h
2024-09-27 09:53:28 -05:00
LI64 r32, 1d
2024-10-17 15:29:09 -05:00
ADDI64 r33, r254, 0d
ADDI64 r34, r33, 1000d
ADDI64 r35, r34, -1000d
2024-09-28 08:13:32 -05:00
ST r32, r254, 0a, 8h
2024-10-17 15:29:09 -05:00
CP r2, r35
2024-09-27 09:53:28 -05:00
JAL r31, r0, :modify
CP r2, r32
JAL r31, r0, :drop
2024-10-17 15:29:09 -05:00
LD r36, r35, 0a, 8h
ADDI64 r1, r36, -2d
LD r31, r254, 8a, 48h
ADDI64 r254, r254, 56d
2024-09-27 09:53:28 -05:00
JALA r0, r31, 0a
modify:
2024-09-28 09:28:05 -05:00
LI64 r3, 2d
ST r3, r2, 0a, 8h
2024-09-27 09:53:28 -05:00
JALA r0, r31, 0a
2024-10-17 15:29:09 -05:00
code size: 212
2024-09-27 09:53:28 -05:00
ret: 0
status: Ok(())