SPRU513Y August 2001 – June 2022 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 13-12 illustrates the Tektronix object format.