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:
ADDI64 r254, r254, -48d
ST r31, r254, 8a, 40h
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, 8000d
ADDI64 r34, r34, -8000d
2024-09-28 08:13:32 -05:00
ST r32, r254, 0a, 8h
CP r2, r34
2024-09-27 09:53:28 -05:00
JAL r31, r0, :modify
CP r2, r32
JAL r31, r0, :drop
LD r35, r34, 0a, 8h
ADDI64 r1, r35, -2d
LD r31, r254, 8a, 40h
ADDI64 r254, r254, 48d
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(())