6. Translation Formats
6-56
UniSite-xpi 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.
Summary of Contents for UniSite-xpi
Page 2: ...981 0014 UniSite Programming System User Manual Also Covering Legacy UniSite Programmers ...
Page 72: ...2 Setup and Installation 2 42 UniSite xpi User Manual ...
Page 134: ...3 Getting Started 3 62 UniSite xpi User Manual ...
Page 238: ...5 Computer Remote Control 5 10 UniSite xpi User Manual ...
Page 296: ...6 Translation Formats 6 58 UniSite xpi User Manual ...
Page 402: ...Keep Current Subscription Service 6 Keep Current ...