Description of the Object Formats
10-40
10.11.2
Intel MCS-86 Object Format (–i Option)
The Intel object format supports 16-bit addresses and 32-bit extended
addresses. Intel format consists of a 9-character (4-field) prefix— which
defines the start of record, byte count, load address, and record type — the
data, and a 2-character checksum suffix.
The 9-character prefix represents three record types:
Record Type
Description
00
Data record
01
End-of-file record
04
Extended linear address record
Record type
00, the data record, begins with a colon ( : ) and is followed by the
byte count, the address of the first data byte, the record type (00), and the
checksum. Note that the address is the least significant 16 bits of a 32-bit
address; this value is concatenated with the value from the most recent 04
(extended linear address) record to create a full 32-bit address. The checksum
is the 2s complement (in binary form) of the preceding bytes in the record,
including byte count, address, and data bytes.
Record type
01, the end-of-file record, also begins with a colon ( : ), followed
by the byte count, the address, the record type (01), and the checksum.
Record type
04, the extended linear address record, specifies the upper 16
address bits. It begins with a colon ( : ), followed by the byte count, a dummy
address of 0h, the record type (04), the most significant 16 bits of the address,
and the checksum. The subsequent address fields in the data records contain
the least significant bits of the address.
Figure 10–11 illustrates the Intel hexadecimal object format.
Figure 10–11.
Intel Hex Object Format
:2000000000000100020003000400050006000700080009000A000B000C000D000E000F0068
:2000200010001100120013001400150016001700180019001A001B001C001D001E001F0048
:2000400000000100020003000400050006000700080009000A000B000C000D000E000F0028
:2000600010001100120013001400150016001700180019001A001B001C001D001E001F0008
:00000001FF
Start
character
Byte
count
Checksum
Data
records
Record
type
Address
Most significant 16 bits
Extended linear
address record
End-of-file
record
Содержание TMS320C54x
Страница 38: ......
Страница 39: ......
Страница 40: ......
Страница 41: ......
Страница 42: ......
Страница 43: ......
Страница 44: ......
Страница 45: ......
Страница 46: ......
Страница 47: ......
Страница 48: ......
Страница 49: ......
Страница 50: ......
Страница 51: ......
Страница 52: ......
Страница 53: ......
Страница 54: ......
Страница 55: ......
Страница 56: ......
Страница 57: ......
Страница 58: ......
Страница 59: ......
Страница 60: ......
Страница 61: ......
Страница 62: ......
Страница 276: ......
Страница 277: ......
Страница 278: ......
Страница 279: ......
Страница 280: ......
Страница 281: ......
Страница 282: ......
Страница 283: ......
Страница 284: ......
Страница 285: ......
Страница 286: ......
Страница 287: ......
Страница 288: ......
Страница 289: ......
Страница 290: ......
Страница 291: ......
Страница 292: ......
Страница 293: ......
Страница 294: ......
Страница 295: ......
Страница 296: ......
Страница 297: ......
Страница 298: ......
Страница 299: ......
Страница 300: ......
Страница 301: ......
Страница 302: ......