holey-bytes/lang/tests/son_tests_arrays.txt

35 lines
701 B
Plaintext
Raw Normal View History

2024-10-19 12:37:02 -05:00
main:
2024-10-28 10:18:53 -05:00
ADDI64 r254, r254, -44d
ST r31, r254, 28a, 16h
LI64 r32, 1d
ADDI64 r2, r254, 0d
ST r32, r254, 0a, 8h
LI64 r8, 2d
ST r8, r254, 8a, 8h
LI64 r11, 4d
ST r11, r254, 16a, 8h
2024-10-19 12:37:02 -05:00
JAL r31, r0, :pass
2024-10-28 10:18:53 -05:00
LI8 r10, 0b
ST r10, r254, 24a, 1h
ST r10, r254, 25a, 1h
LI16 r12, 511h
ST r12, r254, 26a, 1h
LI16 r4, 1h
ST r4, r254, 27a, 1h
ADD64 r1, r1, r32
LD r31, r254, 28a, 16h
ADDI64 r254, r254, 44d
2024-10-19 12:37:02 -05:00
JALA r0, r31, 0a
pass:
LD r4, r2, 8a, 8h
2024-10-27 07:57:00 -05:00
MULI64 r7, r4, 8d
2024-10-25 17:34:22 -05:00
LD r5, r2, 0a, 8h
2024-10-27 07:57:00 -05:00
ADD64 r10, r7, r2
ADD64 r9, r4, r5
LD r1, r10, 0a, 8h
ADD64 r1, r1, r9
2024-10-19 12:37:02 -05:00
JALA r0, r31, 0a
2024-10-28 10:18:53 -05:00
code size: 294
2024-10-19 12:37:02 -05:00
ret: 8
status: Ok(())