holey-bytes/lang/tests/son_tests_unions.txt
Jakub Doka 9ce446b507
Adding the simplest version of unions
Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
2024-12-01 15:11:38 +01:00

12 lines
211 B
Plaintext

main:
ADDI64 r254, r254, -4d
ST r0, r254, 0a, 4h
LD r13, r254, 0a, 4h
ANDI r13, r13, 4294967295d
CP r1, r13
ADDI64 r254, r254, 4d
JALA r0, r31, 0a
code size: 81
ret: 0
status: Ok(())