holey-bytes/lang/tests/son_tests_pointers.txt

24 lines
441 B
Plaintext
Raw Normal View History

2024-09-27 09:53:28 -05:00
drop:
JALA r0, r31, 0a
main:
2024-10-24 02:43:07 -05:00
ADDI64 r254, r254, -24d
ST r31, r254, 8a, 16h
2024-09-27 09:53:28 -05:00
LI64 r32, 1d
2024-10-21 11:57:23 -05:00
ADDI64 r2, r254, 0d
2024-09-28 08:13:32 -05:00
ST r32, r254, 0a, 8h
2024-09-27 09:53:28 -05:00
JAL r31, r0, :modify
CP r2, r32
JAL r31, r0, :drop
2024-10-24 02:43:07 -05:00
LD r8, r254, 0a, 8h
ADDI64 r1, r8, -2d
LD r31, r254, 8a, 16h
ADDI64 r254, r254, 24d
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-21 11:57:23 -05:00
code size: 187
2024-09-27 09:53:28 -05:00
ret: 0
status: Ok(())