The cross-reference table
For each data area with more than 40 fields, a cross-reference
table shows the following:
- Hex Offset: The hexadecimal offset of the field into the data area (for bits, the hexadecimal offset of the field containing the bit).
- Hex Value: Hex values are shown only for bits. The Hex value shown implies the position of the bit in the field containing the bit. For an example illustrating how to use the Hex Value, see the bit DOACMD_FAIL in the DOA data area.
In the DOA data area, the cross-reference table for the DOACMD_FAIL bit looks like this:
Name | Hex Offset | Hex Value | Level |
---|---|---|---|
DOACMD_FAIL | 8F | 80 | 3 |
In the mapping of the DOA, the DOACMD_FAIL bit appears like this:
Dec | Hex | Type | Len | Name | Description |
---|---|---|---|---|---|
143 | (8F) | BITSTRING | 1 | DOAFLAG3 | FLAG BYTE |
|
DOACMD_FAIL | OP COMMAND FAIL FLAG |
Hex Offset 8F is the offset of field DOAFLAG3, a 1-byte field. The first bit in this field is named DOACMD_FAIL. Ignoring the other bits in the field DOAFLAG3, if the DOACMD_FAIL bit is on, the value of field DOAFLAG3 would be 1000 0000, which is equivalent to hex 80. This value (hex 80) is shown in the Hex Value column of the cross-reference table. When a bit is on, the condition described in the Description field of the mapping is true.