holey-bytes/lang/tests/son_tests_tests_ptr_to_ptr_copy.txt

29 lines
557 B
Plaintext
Raw Normal View History

2024-10-21 12:57:55 -05:00
main:
ADDI64 r254, r254, -10240d
LI8 r15, 64b
LI64 r16, 1024d
2024-11-15 15:35:03 -06:00
CP r13, r0
ADDI64 r17, r254, 0d
4: JLTU r13, r16, :0
ADDI64 r13, r17, 1024d
ADDI64 r15, r17, 10240d
3: LD r14, r254, 2048a, 1h
JLTU r13, r15, :1
ANDI r13, r14, 255d
2024-11-15 15:35:03 -06:00
CP r1, r13
2024-10-21 12:57:55 -05:00
JMP :2
1: ADDI64 r14, r13, 1024d
BMC r17, r13, 1024h
CP r13, r14
2024-10-21 12:57:55 -05:00
JMP :3
0: ADDI64 r14, r13, 1d
ADD64 r13, r17, r13
ST r15, r13, 0a, 1h
CP r13, r14
2024-10-21 12:57:55 -05:00
JMP :4
2: ADDI64 r254, r254, 10240d
2024-10-21 12:57:55 -05:00
JALA r0, r31, 0a
code size: 192
2024-10-21 12:57:55 -05:00
ret: 64
status: Ok(())