16.1.3 Options

The following options are supported.

Table 16-2. xc-dsc-bin2hex Options
Option Function
object_file -a Sort the contents of the object file in ascending address order. For a summary of the object file contents, add the -v option (-va).
-u Use upper-case hexadecimal digits.
-v Print a table of diagnostic information to standard output in the format shown in the example below.

-va Option Output

writing hello.hex

section  PC address  byte address  length (w/pad)  actual length  (dec)
-------  ----------  ------------  --------------  --------------------
.reset            0             0             0x8            0x6  (6)
.ivt            0x4           0x8            0xf8           0xba  (186)
.aivt          0x84         0x108            0xf8           0xba  (186)
.text         0x100         0x200           0xaec          0x831  (2097)
.const        0x676         0xcec            0x10            0xc  (12)
.dinit        0x67e         0xcfc           0x104           0xc3  (195)
.text         0x700         0xe00            0x14            0xf  (15)
.isr          0x70a         0xe14             0x4            0x3  (3)
Total program memory used (bytes):                         0xa8c  (2700)