holey-bytes/lang/tests/son_tests_structs.txt
2024-11-16 10:16:35 +01:00

46 lines
938 B
Plaintext

main:
ADDI64 r254, r254, -72d
ST r31, r254, 32a, 40h
LI64 r32, 4d
ADDI64 r33, r254, 16d
ST r32, r254, 16a, 8h
LI64 r32, 3d
ST r32, r254, 24a, 8h
ADDI64 r34, r254, 0d
LD r3, r33, 0a, 16h
JAL r31, r0, :odher_pass
ST r1, r34, 0a, 16h
LD r33, r254, 8a, 8h
JNE r33, r32, :0
CP r2, r34
JAL r31, r0, :pass
CP r32, r1
CP r1, r32
JMP :1
0: CP r1, r0
1: LD r31, r254, 32a, 40h
ADDI64 r254, r254, 72d
JALA r0, r31, 0a
odher_pass:
ADDI64 r254, r254, -24d
ST r32, r254, 16a, 8h
ST r3, r254, 0a, 16h
ADDI64 r3, r254, 0d
CP r13, r3
LD r1, r13, 0a, 16h
LD r32, r254, 16a, 8h
ADDI64 r254, r254, 24d
JALA r0, r31, 0a
pass:
ADDI64 r254, r254, -8d
ST r32, r254, 0a, 8h
CP r13, r2
LD r13, r13, 0a, 8h
CP r1, r13
LD r32, r254, 0a, 8h
ADDI64 r254, r254, 8d
JALA r0, r31, 0a
code size: 387
ret: 4
status: Ok(())