2500_Users_Manual.pdf - 第387页
Trans lation Fo rmats ProM aster 25 00 User Manua l D-5 7 Highest I/O Addresses The following table shows the highest I/O addr es ses accepted for each Data Tran slation Fo rmat. Format Number Format Name Highest Address…

Translation Formats
D-56 ProMaster 2500 User Manual
Problem
Find the address for the first data byte for the following file.
:02 0000 04 0010 EA
:02 0000 02 1230 BA
:10 0045 00 55AA FF ..... BC
Solution
:
Step 1. Find the extended linear address offset for the data record
(0010 in the example).
Step 2. Find the extended segment address offset for the data record
(1230 in the example).
Step 3. Find the address offset for the data from the data record (0045 in
the example).
Step 4. Calculate the absolute address for the first byte of the data record
as follows:
00100000
Linear address offset, shifted left 16 bits
+ 12300
Segment address offset, shifted left 4 bits
+ 0045
Address offset from data record
00112345
32-bit address for first data byte
The address for the first data byte is 112345.
Note: Always specify the address offset when using this format, even when the
offset is zero.
During output translation, the firmware will force the record size to 16
(decimal) if the record size is specified greater than 16. There is no such
limitation for record sizes specified less than 16.
03-Start Segment Address
Record
This record, which specifies bits 4-19 of the execution start address for
the object file, is not used by the programmer.
04-Extended Linear
Address Record
This record specifies bits 16-31 of the destination address for the data
records that follow. It is added to the offset to determine the absolute
destination address and can appear randomly anywhere within the
object file. The address field for this record must contain ASCII zeros
(Hex 30s).
05-Start Linear Address
Record
This record, which specifies bits 16-31 of the execution start address for
the object file, is not used by the programmer.

Translation Formats
ProMaster 2500 User Manual D-57
Highest I/O Addresses
The following table shows the highest I/O addresses accepted for each
Data Translation Format.
Format
Number Format Name
Highest
Address (hex
bytes)
01-03 ASCII (BNPF, BHLF, and B10F) N/A
04 Texas Instruments SDSMAC (320) 1FFFF
(FFFF words)
05-07 ASCII (BNPF, BHLF, and B10F) N/A
11 DEC Binary N/A
12-13 Spectrum 270F
16 Absolute Binary N/A
17 LOF N/A
30-32 ASCII-Octal
(Space, Percent, and Apostrophe)
3FFFF
(777777 octal)
35-37 ASCII-Octal
(Space, Percent, and SMS)
3FFFF
(777777 octal)
50-52 ASCII-Hex
(Space, Percent, and Apostrophe)
FFFF
55-58 ASCII-Hex
(Space, Percent, SMS, and Comma)
FFFF
70 RCA Cosmac FFFF
80 Fairchild Fairbug FFFF
81 MOS Technology FFFF
82 Motorola EXORciser FFFF
83 Intel Intellec 8/MDS FFFF
85 Signetics Absolute Object FFFF
86 Tektronix Hexadecimal FFFF
87 Motorola EXORmacs FFFFFF
88 Intel MCS-86 Hex Object FFFFF
89 Hewlett-Packard 64000 Absolute FFFFFFFF
90 Texas Instruments SDSMAC FFFF
91, 92 JEDEC (Full and Kernel) N/A
94 Tektronix Hexadecimal Extended FFFFFFFF
95 Motorola 32 bit (S3 record) FFFFFFFF
96 Hewlett-Packard UNIX Format FFFFFFFF
97 Intel OMF 386 FFFFFFFF
98 Intel OMF 286 FFFFFF
99 Intel Hex-32 FFFFFFFF

Translation Formats
D-58 ProMaster 2500 User Manual