31.12.2013 Views

Linkage Kit Manual V6-00 - Fujitsu

Linkage Kit Manual V6-00 - Fujitsu

Linkage Kit Manual V6-00 - Fujitsu

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

APPENDIX<br />

B.4 Extended Segment Address Record (HEX16/HEX32)<br />

Type: 02<br />

If extended segment address code appears, the address of each byte data of the<br />

following data records is calculated according to the following formula.<br />

( ( PA x 0x10 ) + ( ( DA + DP ) MOD 0x1<strong>00</strong><strong>00</strong> ) ) MOD 0x1<strong>00</strong><strong>00</strong>0<br />

• PA: (e) field value of the record<br />

• DA: (c) field value of the data record. Here, this value is a relative address.<br />

• DP: Value indicating the data position in the (e) field of the data record calculated by<br />

setting the position of the first data to 0.<br />

■ Extended Segment Address Record (HEX16/HEX32)<br />

Figure B.4-1 Extended Segment Address Record (HEX16/HEX32)<br />

: 0 2 0 0 0 0 0 2 p1 p2 p3 p4 s1 s2<br />

(a) (b) (c) (d) (e) (f) (g)<br />

(e) :<br />

This is a paragraph address and the actual 2-byte data is represented as 4-byte ASCII code.<br />

In the above figure, p1 indicates the high-order digits.<br />

(c) :<br />

This field is not used and normally 0 is set.<br />

If extended segment address code appears, the address of each byte data of the following data records is<br />

calculated according to the following formula.<br />

[( PA x 0x10 ) + [( DA + DP ) MOD 0x1<strong>00</strong><strong>00</strong>]] MOD 0x1<strong>00</strong><strong>00</strong>0<br />

- PA: (e) field value of the record<br />

- DA: (c) field value of the data record. Here, this value is a relative address.<br />

- DP: Value indicating the data position in the (e) field of the data record calculated by setting the<br />

position of the first data to 0.<br />

This is the same method used for calculating the physical address in i8086. With the addition of<br />

extended segment address record, up to 20-bit addresses can be represented.<br />

For the data records which appear before the extended segment address record, the address is calculated<br />

with the above PA setting as 0x<strong>00</strong><strong>00</strong>.<br />

350

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!