SLAU131V October 2004 – February 2020
The hex conversion utility has options that identify each format. Table 12-2 specifies the format options. They are described in the following sections.
Option | Alias | Format | Address Bits | Default Width |
---|---|---|---|---|
--ascii | -a | ASCII-Hex | 16 | 8 |
--intel | -i | Intel | 32 | 8 |
--motorola=1 | -m1 | Motorola-S1 | 16 | 8 |
--motorola=2 | -m2 | Motorola-S2 | 24 | 8 |
--motorola=3 | -m3 | Motorola-S3 | 32 | 8 |
--ti-tagged | -t | TI-Tagged | 16 | 16 |
--ti_txt | TI_TXT | 8 | 8 | |
--tektronix | -x | Tektronix | 32 | 8 |
Address bits determine how many bits of the address information the format supports. Formats with 16-bit addresses support addresses up to 64K only. The utility truncates target addresses to fit in the number of available bits.
The default width determines the default output width of the format. You can change the default width by using the --romwidth option or by using the romwidth parameter in the ROMS directive. You cannot change the default width of the TI-Tagged format, which supports a 16-bit width only.