SPRU513Z August 2001 – October 2023 SM320F28335-EP
The Tektronix object format supports 32-bit addresses and has two types of records:
Data records | contains the header field, the load address, and the object code. |
Termination records | signifies the end of a module. |
The header field in the data record contains the following information:
Item | Number of ASCII Characters | Description |
---|---|---|
% | 1 | Data type is Tektronix format |
Block length | 2 | Number of characters in the record, minus the % |
Block type | 1 | 6 = data record 8 = termination record |
Checksum | 2 | A 2-digit hex sum modulo 256 of all values in the record except the % and the checksum itself. |
The load address in the data record specifies where the object code will be located. The first digit specifies the address length; this is always 8. The remaining characters of the data record contain the object code, two characters per byte.
Figure 12-12 illustrates the Tektronix object format.