holey-bytes/lang/tests/son_tests_structs.txt
2024-10-24 09:43:07 +02:00

40 lines
825 B
Plaintext

main:
ADDI64 r254, r254, -96d
ST r31, r254, 72a, 24h
LI64 r32, 3d
LI64 r3, 4d
ADDI64 r33, r254, 16d
ADDI64 r8, r254, 32d
ADDI64 r9, r254, 48d
ST r3, r254, 48a, 8h
ADDI64 r7, r254, 56d
BMC r9, r7, 8h
ST r32, r254, 64a, 8h
BMC r7, r8, 16h
LD r3, r7, 0a, 16h
JAL r31, r0, :odher_pass
ST r1, r254, 16a, 16h
ADDI64 r2, r254, 0d
BMC r33, r2, 16h
LD r10, r254, 8a, 8h
JNE r10, r32, :0
JAL r31, r0, :pass
JMP :1
0: LI64 r1, 0d
1: LD r31, r254, 72a, 24h
ADDI64 r254, r254, 96d
JALA r0, r31, 0a
odher_pass:
ADDI64 r254, r254, -16d
ST r3, r254, 0a, 16h
ADDI64 r3, r254, 0d
LD r1, r3, 0a, 16h
ADDI64 r254, r254, 16d
JALA r0, r31, 0a
pass:
LD r1, r2, 0a, 8h
JALA r0, r31, 0a
code size: 350
ret: 4
status: Ok(())