4 REAL_REC .struct ; stag = REAL_REC
7 REAL_LEN .endstruct ; REAL_LEN = 2
9 add REAL + REAL_REC.DEN, a ; 000000 0001
10 .bss REAL, REAL_LEN ; 000000 0000 (len = 2)
16 ; apply the CPLX_REC structure format to .bss var COMPLEX
18 .bss COMPLEX, CPLX_LEN ; 000002 0000 (len = 4)
20 add COMPLEX.REALI, a ; 000001 0002
21 stl a, COMPLEX.REALI ; 000002 8002
22 add COMPLEX.IMAGI, b ; 000003 0104
24 ; anonymous struct; symbols become global
33 BIT7 .field 7 ; bit7 = 64
34 BIT9 .field 9 ; bit9 = 64
35 BIT10 .field 10 ; bit10 = 65
36 X_INT .int ; x_int = 66
37 BIT_LEN .endstruct ; bit_len = 67
39 .bss BITS, BIT_LEN ; 000006 0000 (len = 67)
41 add BITS.BIT7,a ; 000004 0046
42 and #007Fh, a ; 000005 f030