Tornado Reference : Tornado Utilities
coffHexArm - convert a COFF format object file into Motorola hex records
coffHexArm [-a offset] [-l] file
This program generates a Motorola hex format (S-record) file from a COFF format object module. Normally, the entry address in the object module is used as the starting address of the output module in ROM. However, if the -a flag is used, then offset is used as the starting address. offset is a hex value.
Normally S1 records are generated for addresses less than 64K; S2 records are generated for addresses greater than 64K and less than 16M; and S3 records are generated for addresses greater than 16M.
Example:
coffHex960 -a 0x800 bootrom
- -l
- generate only S2 records.
- -a offset
- use offset as the ROM entry address, rather than the address in the object module.