SPI Tokens
Data Definition Language (DDL) Reference Manual — 426798-002
7- 24
TOKEN-MAP Statement
BIT_FILLER 5;
END;
?SECTION BIT^MAP^EX^A
DEFINE BIT^MAP^EX^A = [2303,1,4,17152,511,1,17162,511,1,
17172,767 ]#;
LITERAL BIT^MAP^EX^A^WLN = 11;
?SECTION BIT^DDL^EX^C
STRUCT BIT^DDL^EX^C^DEF (*);
BEGIN
STRUCT CHAR^3;
BEGIN STRING BYTE [0:2]; END;
FILLER 1;
UNSIGNED(8) BITS^8;
UNSIGNED(3) BITS^3;
BIT_FILLER 5;
BIT_FILLER 10;
UNSIGNED(2) BITS^2;
BIT_FILLER 4;
UNSIGNED(5) BITS^5;
BIT_FILLER 4;
UNSIGNED(4) BITS^4;
BIT_FILLER 3;
UNSIGNED(7) BITS^7;
BIT_FILLER 9;
END;
?SECTION BIT^MAP^EX^C
DEFINE BIT^MAP^EX^C = [2303,111,12,17152,1023,1,0,511,1,
17152,767,1,0,511,1,17162,511,1,17172,
767,1,0,767]#;
LITERAL BIT^MAP^EX^C^WLN = 23;
Table 7-2
shows a further breakdown of the token map bit-map-ex-c.
Table 7-2. Structure of a Bit Map
Value in Word
Byte 1
Byte 2
Meaning of Value
2303
8
255
Token type
111
0
111
Token number
12
0
12
Byte length of structure
17152
C
00
Version C00 for first field
1023
3
255
Null value for char-3
1
0
1
New version specification follows
0
0
0
NOVERSION
511
1
255
Null value for byte FILLER
1
0
1
New version specification follows
17152
C
00
Version “C00”
767
2
255
Null value for bits-8 and bits-3