Download 3980 Programming System User Manual

Transcript
Translation Formats
Hewlett-Packard 64000 Absolute Format, Code 89
Hewlett-Packard Absolute is a binary format with control and data-checking
characters. See Figure 5-16.
Figure 5-16. HP 64000 Absolute Format (example)
HIGH
ORDER
END-OF-FILE
RECORD
LOW
ORDER
End-of-File record consists only of a word count of 0.
Checksum
Third Byte
MSB
LSB
Second Byte
Data bytes
32-bit address
is sent in this
manner, in 4
groups of 8-bit
bytes.
ONE DATA
RECORD
Address where following data byte is to be stored.
BYTE COUNT — number of 8-bit data bytes.
WORD COUNT — number of 16-bit words in record except checksum and itself.
CHECKSUM — modulo 256 sum of all bytes in the record except the first byte.
TRANSFER ADDRESS — for microprocessor program counter.
START-OF-FILE
RECORD
DATA WIDTH BASE — see text.
DATA BUS WIDTH — see text.
WORD COUNT — number of 16-bit words in the record; always 04 in
Start-of-File record.
Note: This format is binary. Therefore, no ASCII control characters
or carriage returns and line feeds are allowed.
0088-2
Data files begin with a Start-of-file record, which includes the Data Bus Width,
Data Width Base, Transfer Address, and a checksum of the bytes in the record.
The Data Bus Width represents the width of the target system's bus (in bits).
The Data Width Base represents the smallest addressable entity used by the
target microprocessor.
3980xpi/3980/3900/2900 User Manual
5-25