holey-bytes/lang/tests/son_tests_memory_swap.txt

32 lines
664 B
Plaintext
Raw Normal View History

2024-11-12 10:11:39 -06:00
decide:
ADDI64 r254, r254, -24d
2024-11-13 03:28:16 -06:00
ADDI64 r7, r254, 0d
2024-11-12 10:11:39 -06:00
ST r2, r254, 0a, 8h
2024-11-13 03:28:16 -06:00
ST r0, r254, 8a, 8h
ST r0, r254, 16a, 8h
BMC r7, r1, 24h
2024-11-12 10:11:39 -06:00
ADDI64 r254, r254, 24d
JALA r0, r31, 0a
main:
ADDI64 r254, r254, -112d
ST r31, r254, 72a, 40h
ADDI64 r32, r254, 48d
2024-11-13 03:28:16 -06:00
CP r2, r0
2024-11-12 10:11:39 -06:00
CP r1, r32
JAL r31, r0, :decide
ADDI64 r1, r254, 24d
BMC r32, r1, 24h
LI64 r2, 1d
JAL r31, r0, :decide
ADDI64 r33, r254, 0d
BMC r32, r33, 24h
LD r34, r254, 24a, 8h
LD r35, r254, 0a, 8h
ADD64 r1, r35, r34
LD r31, r254, 72a, 40h
ADDI64 r254, r254, 112d
JALA r0, r31, 0a
2024-11-13 03:28:16 -06:00
code size: 258
2024-11-12 10:11:39 -06:00
ret: 1
status: Ok(())