1
2
3 dcl mpc_cardp ptr;
4
5 dcl 1 mpc_card aligned based (mpc_cardp),
6 2 word char (4),
7 2 name char (4),
8 2 model fixed bin,
9 2 port (4),
10 3 iom fixed bin (3),
11 3 chan fixed bin (8),
12 3 nchan fixed bin,
13
14 2 type_word aligned,
15 3 field_type (14) bit (2) unaligned,
16 3 pad1 bit (4) unaligned,
17 3 n_fields fixed bin (4) unsigned unaligned;
18
19 dcl 1 mpc_card_array aligned based (mpc_cardp),
20 2 pad1 (3) bit (36) aligned,
21 2 port (divide (max (0, (mpc_card.n_fields - 2)), 3, 17, 0)),
22 3 iom fixed bin (3),
23 3 chan fixed bin (8),
24 3 nchan fixed bin;
25
26 dcl MPC_CARD_WORD char (4) aligned internal static options (constant) init ("mpc");
27
28