# The ARM Object Format Decoder (decaof)

The ARM Object Format (AOF) file decoder, decaof, is a tool which decodes AOF files, such as those produced by armasm and armcc.

# Command line options

The format of the decaof command is:

``

    decaof [-options] <file> [file ...]

options consists of a string of letters, which have the following meaning:

    --------------------------------------------------------
    Option   |Description
    --------------------------------------------------------
    h or help|gives on-line details of the decaof command;
    --------------------------------------------------------
    b        |(brief) prints only the area declarations;
    --------------------------------------------------------
    a        |prints area contents in hex (and implicitly
             |includes -d);
    --------------------------------------------------------
    d        |prints area declarations;
    --------------------------------------------------------
    r        |prints relocation directives (and implicitly
             |includes -d);
    --------------------------------------------------------
    c        |disassembles code areas (and implicitly
             |includes -d);
    --------------------------------------------------------
    g        |prints debug areas formatted readably;
    --------------------------------------------------------
    s        |prints symbol tables;
    --------------------------------------------------------
    t        |prints string tables.
    --------------------------------------------------------

If no options are specified, the effect is of -dst.

Each file should be an AOF file, otherwise decaof will complain.

## For more information

For a synopsis of AOF, see ARM object format. The full specification of AOF can be found in ARM Object Format.