User manual

Translation Formats
ProMaster 2500 User Manual D-47
Extended Tektronix Hexadecimal Format, Code 94
The Extended Tektronix Hexadecimal format has three types of records:
data, symbol, and termination records. The data record contains the
object code. Information about a program section is contained in the
symbol record (the programmer ignores symbol records), and the
termination record signifies the end of a module. The data record (see
sample below) contains a header field, a load address, and the object
code. Figure D-20 lists the information contained in the header field.
Character Values for
Checksum Computation
The number of fields in the file will vary, depending on whether a data or
a termination block is sent. Both data and termination blocks have a
6-character header and a 2-to-17 character address.
Figure D-20
An Example of Tektronix Extended
Format
Item
No. of ASCII
Characters Description
% 1 Signifies that the record is the Extended
Tek Hex format.
Block length 2 Number of characters in the record,
minus the %.
Block type 1 6 = data record
3 = symbol record (ignored by the
programmer)
8 = termination record
Checksum 2 A 2-digit hex sum, modulo 256, of all the
values in the record except the % and
the checksum.
Character(s)
Value (decimal)
Character(s)
Value
(decimal)
0 . . 9 0 . . 9 . (period) 38
A . . Z 10 . . 35 _(underline) 39
$ 36 a . . z 40 . . 65
%37
%1561C310020202020202
SUMCHECK: 1CH = 1+5+6+3+1+0+0+0+2+0+2+...
OBJECT CODE: 6 BYTES
LOAD ADDRESS: 100 H
BLOCK TYPE: 6 (DATA)
HEADER CHARACTER
BLOCK LENGTH: 15H = 21
0092-2