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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

15.5 f2hs (Converting an Absolute Format Load Module into the HEX Format)<br />

15.5 f2hs (Converting an Absolute Format Load Module into the<br />

HEX Format)<br />

An absolute format load module that is output by a linker is converted into the HEX<br />

format.<br />

Data at the addresses 0 through 0xFFFFFFFF is to be converted.<br />

The f2hs command can process the absolute format load module of the SOFTUNE V3/V5.<br />

■ f2hs (Converting an Absolute Format Load Module into the HEX Format)<br />

[Function]<br />

The f2hs command reads the object data from an absolute format load module that is output by a linker<br />

and converts it into a HEX format file.<br />

Figure 15.5-1 f2hs (Converting an Absolute Format Load Module into the HEX Format)<br />

Absolute format<br />

Load module<br />

(.abs)<br />

f2hs<br />

HEX format<br />

(.hex)<br />

[Address]<br />

The maximum values of addresses that can be represented in the HEX format are:.<br />

HEX8 0xFFFF<br />

HEX16 0xFFFFF<br />

HEX32 0xFFFFFFFF<br />

The absolute format load module that is output by a linker can represent the addresses between 0 and<br />

0xFFFFFFFF inclusive.<br />

Since the HEX format supports the same range of addresses, conversions can be made without losing<br />

any data.<br />

According to the address allocation, f2hs outputs the following records:<br />

0x<strong>00</strong><strong>00</strong><strong>00</strong><strong>00</strong> to 0x<strong>00</strong><strong>00</strong>FFFF : HEX8<br />

0x<strong>00</strong>01<strong>00</strong><strong>00</strong> to 0x<strong>00</strong>0FFFFF : HEX16<br />

0x<strong>00</strong>1<strong>00</strong><strong>00</strong>0 to 0xFFFFFFFF : HEX32<br />

PART IV OBJECT FORMAT CONVERTERS 275

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

Saved successfully!

Ooh no, something went wrong!