holey-bytes/lang/tests/son_tests_nullable_structure.txt

59 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2024-11-07 09:39:15 -06:00
main:
ADDI64 r254, r254, -66d
ST r31, r254, 26a, 40h
2024-11-07 09:39:15 -06:00
JAL r31, r0, :returner_fn
2024-11-07 10:02:22 -06:00
CP r32, r1
2024-11-15 15:35:03 -06:00
ADDI64 r33, r254, 2d
CP r1, r33
2024-11-07 10:02:22 -06:00
JAL r31, r0, :returner_bn
2024-11-15 15:35:03 -06:00
ADDI64 r34, r254, 0d
2024-11-07 10:02:22 -06:00
JAL r31, r0, :returner_cn
2024-11-15 15:35:03 -06:00
ST r1, r34, 0a, 2h
LD r33, r254, 2a, 1h
CMPU r32, r32, r0
2024-11-13 03:28:16 -06:00
CMPUI r32, r32, 0d
2024-11-15 15:35:03 -06:00
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
2024-11-13 03:28:16 -06:00
CP r1, r0
2024-11-07 09:39:15 -06:00
JMP :1
2024-11-15 15:35:03 -06:00
0: LI64 r32, 1d
CP r1, r32
1: LD r31, r254, 26a, 40h
ADDI64 r254, r254, 66d
2024-11-07 10:02:22 -06:00
JALA r0, r31, 0a
returner_bn:
ADDI64 r254, r254, -24d
2024-11-15 15:35:03 -06:00
CP r15, r1
LI8 r14, 1b
ADDI64 r13, r254, 0d
ST r14, r254, 0a, 1h
2024-11-13 03:28:16 -06:00
ST r0, r254, 8a, 8h
ST r0, r254, 16a, 8h
2024-11-15 15:35:03 -06:00
BMC r13, r15, 24h
ADDI64 r254, r254, 24d
2024-11-07 10:02:22 -06:00
JALA r0, r31, 0a
returner_cn:
ADDI64 r254, r254, -2d
2024-11-15 15:35:03 -06:00
LI8 r13, 1b
ADDI64 r14, r254, 0d
ST r13, r254, 0a, 1h
2024-11-13 03:28:16 -06:00
ST r0, r254, 1a, 1h
2024-11-15 15:35:03 -06:00
LD r1, r14, 0a, 2h
ADDI64 r254, r254, 2d
2024-11-07 09:39:15 -06:00
JALA r0, r31, 0a
returner_fn:
2024-11-15 15:35:03 -06:00
LD r13, r254, 0a, 0h
ORI r13, r13, 128d
CP r1, r13
2024-11-07 09:39:15 -06:00
JALA r0, r31, 0a
code size: 463
2024-11-07 09:39:15 -06:00
ret: 1
status: Ok(())