holey-bytes/lang/tests/son_tests_nullable_structure.txt
2024-11-15 22:35:03 +01:00

68 lines
1.4 KiB
Plaintext

main:
ADDI64 r254, r254, -74d
ST r31, r254, 26a, 48h
JAL r31, r0, :returner_fn
CP r32, r1
ADDI64 r33, r254, 2d
CP r1, r33
JAL r31, r0, :returner_bn
ADDI64 r34, r254, 0d
CP r1, r34
JAL r31, r0, :returner_cn
ST r1, r34, 0a, 2h
LD r33, r254, 2a, 1h
CMPU r32, r32, r0
CMPUI r32, r32, 0d
CMPU r33, r33, r0
CMPUI r33, r33, 0d
LD r34, r254, 0a, 1h
AND r32, r33, r32
CMPU r33, r34, r0
CMPUI r33, r33, 0d
AND r32, r33, r32
ANDI r32, r32, 255d
JNE r32, r0, :0
CP r1, r0
JMP :1
0: LI64 r32, 1d
CP r1, r32
1: LD r31, r254, 26a, 48h
ADDI64 r254, r254, 74d
JALA r0, r31, 0a
returner_bn:
ADDI64 r254, r254, -40d
ST r32, r254, 24a, 16h
CP r15, r1
LI8 r14, 1b
ADDI64 r13, r254, 0d
ST r14, r254, 0a, 1h
ST r0, r254, 8a, 8h
ST r0, r254, 16a, 8h
BMC r13, r15, 24h
LD r32, r254, 24a, 16h
ADDI64 r254, r254, 40d
JALA r0, r31, 0a
returner_cn:
ADDI64 r254, r254, -18d
ST r32, r254, 2a, 16h
LI8 r13, 1b
ADDI64 r14, r254, 0d
ST r13, r254, 0a, 1h
ST r0, r254, 1a, 1h
LD r1, r14, 0a, 2h
LD r32, r254, 2a, 16h
ADDI64 r254, r254, 18d
JALA r0, r31, 0a
returner_fn:
ADDI64 r254, r254, -8d
ST r32, r254, 0a, 8h
LD r13, r254, 0a, 0h
ORI r13, r13, 128d
CP r1, r13
LD r32, r254, 0a, 8h
ADDI64 r254, r254, 8d
JALA r0, r31, 0a
code size: 566
ret: 1
status: Ok(())