holey-bytes/lang/tests/son_tests_structs.txt

39 lines
759 B
Plaintext
Raw Normal View History

2024-10-17 15:29:09 -05:00
main:
ADDI64 r254, r254, -64d
ST r31, r254, 32a, 32h
LI64 r32, 4d
ST r32, r254, 16a, 8h
2024-11-15 15:35:03 -06:00
LI64 r32, 3d
ST r32, r254, 24a, 8h
ADDI64 r33, r254, 0d
LD r3, r254, 16a, 16h
2024-10-17 15:29:09 -05:00
JAL r31, r0, :odher_pass
ST r1, r33, 0a, 16h
LD r34, r254, 8a, 8h
JNE r34, r32, :0
CP r2, r33
2024-10-17 15:29:09 -05:00
JAL r31, r0, :pass
2024-11-15 15:35:03 -06:00
CP r32, r1
CP r1, r32
2024-10-17 15:29:09 -05:00
JMP :1
2024-11-13 03:28:16 -06:00
0: CP r1, r0
1: LD r31, r254, 32a, 32h
ADDI64 r254, r254, 64d
2024-10-17 15:29:09 -05:00
JALA r0, r31, 0a
odher_pass:
ADDI64 r254, r254, -16d
2024-10-24 02:43:07 -05:00
ST r3, r254, 0a, 16h
ADDI64 r3, r254, 0d
2024-11-15 15:35:03 -06:00
CP r13, r3
LD r1, r13, 0a, 16h
ADDI64 r254, r254, 16d
2024-10-17 15:29:09 -05:00
JALA r0, r31, 0a
pass:
2024-11-15 15:35:03 -06:00
CP r13, r2
LD r13, r13, 0a, 8h
CP r1, r13
2024-10-17 15:29:09 -05:00
JALA r0, r31, 0a
code size: 302
2024-10-24 02:43:07 -05:00
ret: 4
2024-10-17 15:29:09 -05:00
status: Ok(())