holey-bytes/lang/tests/son_tests_tests_ptr_to_ptr_copy.txt

31 lines
555 B
Plaintext
Raw Normal View History

2024-10-21 12:57:55 -05:00
main:
2024-10-24 03:21:10 -05:00
ADDI64 r254, r254, -10240d
2024-11-10 02:17:43 -06:00
LI64 r7, 1d
LI8 r8, 64b
LI64 r6, 1024d
2024-10-27 07:57:00 -05:00
LI64 r9, 0d
2024-10-25 07:51:33 -05:00
ADDI64 r5, r254, 0d
2024-11-10 02:17:43 -06:00
4: JLTU r9, r6, :0
LI64 r6, 10d
CP r8, r7
3: LD r11, r254, 2048a, 1h
JLTU r8, r6, :1
ANDI r1, r11, 255d
2024-10-21 12:57:55 -05:00
JMP :2
2024-11-10 02:17:43 -06:00
1: ADD64 r2, r8, r7
MULI64 r1, r8, 1024d
ADD64 r3, r5, r1
BMC r5, r3, 1024h
CP r8, r2
2024-10-21 12:57:55 -05:00
JMP :3
2024-11-10 02:17:43 -06:00
0: ADD64 r2, r9, r7
ADD64 r12, r5, r9
ST r8, r12, 0a, 1h
CP r9, r2
2024-10-21 12:57:55 -05:00
JMP :4
2024-10-24 03:21:10 -05:00
2: ADDI64 r254, r254, 10240d
2024-10-21 12:57:55 -05:00
JALA r0, r31, 0a
code size: 198
2024-10-21 12:57:55 -05:00
ret: 64
status: Ok(())