6. Translation Formats
03-Start Segment Address
Record
04-Extended Linear
Address Record
05-Start Linear Address
Record
6-56
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
+
12300
+
0045
00112345
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.
This record, which specifies bits 4-19 of the execution start address for
the object file, is not used by the programmer.
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).
This record, which specifies bits 16-31 of the execution start address for
the object file, is not used by the programmer.
Linear address offset, shifted left 16 bits
Segment address offset, shifted left 4 bits
Address offset from data record
32-bit address for first data byte
UniSite-xpi User Manual
Need help?
Do you have a question about the UniSite-xpi and is the answer not in the manual?
Questions and answers