Tornado Reference : Tornado Utilities

hexDec

NAME

hexDec - convert a.out format object file to Motorola hex records no DEC

SYNOPSIS

hexDec [-a adrs] [-l] [-v] [-p PC] [-s SP] [-b] file

DESCRIPTION

This program generates a Motorola hex format (S-record) file from an a.out format object module. Normally, the entry address in the object module will be used as the starting address of the output module. However, if the -a flag is used, then adrs is used as the starting address. Normally S1 records will be generated for addresses less than 64K; S2 records will be generated for address greater than 64K and less the 16M; and S3 records will be generated for greater than that.

OPTIONS

-l
generate only S2 records.

-a adrs
use adrs as the entry address, rather than the address in the object module.

-v
output vector information at address 0.

-p PC
use PC as the PC in the vector (meaningless without -v).

-s SP
use SP as the SP in the vector (meaningless without -v).

-b
output signature bytes, size, and checksum for additional BIOS ROM.


 3

SEE ALSO

hexDec