Intel MCS-86 Hexadecimal Object, Code 88
Figure 6-15
An Example of Intel MCS-86 Hex Object
Start Character
00-Data Record
01-End Record
02-Extended Segment
Address Record
UniSite-xpi User Manual
The Intel 16-bit Hexadecimal Object file record format has a 9-character
(4-field) prefix that defines the start of record, byte count, load address,
and record type and a 2-character checksum suffix. Figure 6-15 shows a
sample record of this format.
Address
:020000020000FC
:10000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00
:10001000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0
:10002000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0
:10003000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD0
:10004000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0
:00000001FF
Byte Count
Record Type
Nonprinting Carriage Return, line feed, and nulls determined by null count
The four record types are described below.
This begins with the colon start character, which is followed by the byte
count (in hex notation), the address of the first data byte, and the record
type (equal to 00). Following these are the data bytes. The checksum
follows the data bytes and is the two's complement (in binary) of the
preceding bytes in the record, including the byte count, address, record
type, and data bytes.
This end-of-file record also begins with the colon start character. This is
followed by the byte count (equal to 00), the address (equal to 0000), the
record type (equal to 01), and the checksum, FF.
This is added to the offset to determine the absolute destination address.
The address field for this record must contain ASCII zeros (Hex 30s).
This record type defines bits 4 to 19 of the segment base address. It can
appear randomly anywhere within the object file and affects the
absolute memory address of subsequent data records in the file. The
following example illustrates how the extended segment address is used
to determine a byte address.
Offset Address
Checksum
Extended Record
End-of-File Record
Checksum
LEGEND
6. Translation Formats
Checksum
Data
Records
0087-4
6-29
Need help?
Do you have a question about the UniSite-xpi and is the answer not in the manual?
Questions and answers