ADS 1.2命令总结

1、fromelf: ARM Executable ELF file translator

fromelf [options] input_file


Options:
        -Help         display this help screen
        -vsn          display version information
        -output file  the output file. (defaults to stdout for -text format)
        -nodebug      do not put debug areas in the output image
        -nolinkview   do not put sections in the output image

Binary Output Formats:
        -bin          Plain Binary
        -m32          Motorola 32 bit Hex
        -i32          Intel 32 bit Hex
        -ihf          Intellec Hex
        -vhx          Byte Oriented Hex format

        -base <addr> Optionally set base address for m32,i32,ihf

Other Output Formats:
        -elf         ELF
        -text        Text Information


Output Formats Requiring Debug Information
        -fieldoffsets Assembly Language Description of Structures/Classes

                Flags for Text Information
                -v          verbose
                -a          print data addresses (For images built with debug)
                -c          disassemble code
                -d          print contents of data section
                -g          print debug tables
                -r          print relocation information
                -s          print symbol table
                -t          print string table
                -y          print dynamic segment contents
                -z          print code and data size information
Software supplied by: Team-EFA


2、armasm

Usage:      armasm [keyword arguments] sourcefile objectfile
               armasm [keyword arguments] -o objectfile sourcefile


Keywords    (Upper case shows allowable abbreviation)
-LIST       listingfile   Write a listing file (see manual for options)
-Depend     dependfile    Save 'make' source file dependencies
-Errors     errorsfile    Put stderr diagnostics to errorsfile
-I          dir[,dir]     Add dirs to source file search path
-PreDefine  directive     Pre-execute a SET{L,A,S} directive
-NOCache                  Source caching off    (default on)
-MaxCache   <n>           Maximum cache size    (default 8MB)
-NOEsc                    Ignore C-style (\c) escape sequences
-NOWarn                   Turn off Warning messages
-G                        Output debugging tables
-APCS       /<quals>      Make pre-definitions to match the
                          chosen proc-call standard
-CheckReglist             Warn about out of order LDM/STM register lists
-Help                     Print this information
-LIttleend                Little-endian ARM
-BIgend                   Big-endian ARM
-MEMACCESS <attributes>   Specify attributes of target memory system
-M                        Write source file dependency lists to stdout
-MD                       Write source file dependency lists to inputfile.d
-KEEP                     Keep local labels in symbol table of object file
-NORegs                   Do not predefine register names
-SPLIT_LDM                Fault long LDM/STM
-UNSAFE                   Downgrade certain errors to warnings
-VIA        <file>        Read further arguments from <file>
-CPU        <target-cpu>  Set the target ARM core type
-FPU        <target-arch> Set target FP architecture version
            one of:       SOFTVFP, SOFTFPA, VFP, FPA, NONE
-16                       Assemble 16 bit Thumb instructions
-32                       Assemble 32 bit ARM instructions
Software supplied by: Team-EFA



你可能感兴趣的:(ADS 1.2命令总结)