1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
@c Copyright (C) 1996 Free Software Foundation, Inc.
@c This is part of the GAS manual.
@c For copying conditions, see the file as.texinfo.
@ifset GENERIC
@page
@node ARM-Dependent
@chapter ARM Dependent Features
@end ifset
@ifclear GENERIC
@node Machine Dependencies
@chapter ARM Dependent Features
@end ifclear
@cindex ARM support
@cindex Thumb support
@menu
* ARM Options:: Options
* ARM Syntax:: Syntax
* ARM Floating Point:: Floating Point
* ARM Directives:: ARM Machine Directives
* ARM Opcodes:: Opcodes
@end menu
@node ARM Options
@section Options
@cindex ARM options (none)
@cindex options for ARM (none)
@code{@value{AS}} has no additional command-line options for the ARM
processor family.
@node ARM Syntax
@section Syntax
@menu
* ARM-Chars:: Special Characters
* ARM-Regs:: Register Names
@end menu
@node ARM-Chars
@subsection Special Characters
@cindex line comment character, ARM
@cindex ARM line comment character
@samp{;} is the line comment character.
@cindex identifiers, ARM
@cindex ARM identifiers
*TODO* Explain about /data modifier on symbols.
@node ARM-Regs
@subsection Register Names
@cindex ARM register names
@cindex register names, ARM
*TODO* Explain about ARM register naming, and the predefined names.
@node ARM Floating Point
@section Floating Point
@cindex floating point, ARM (@sc{ieee})
@cindex ARM floating point (@sc{ieee})
The ARM family uses @sc{ieee} floating-point numbers.
@node ARM Directives
@section ARM Machine Directives
@cindex machine directives, ARM
@cindex ARM machine directives
@table @code
@cindex @code{code} directive, ARM
@item .code @var{[16|32]}
This directive selects the instruction set being generated. The value 16
selects Thumb, with the value 32 selecting ARM.
@cindex @code{thumb} directive, ARM
@item .thumb
This performs the same action as @var{.code 16}.
@cindex @code{arm} directive, ARM
@item .arm
This performs the same action as @var{.code 32}.
@end table
@node ARM Opcodes
@section Opcodes
@cindex ARM opcodes
@cindex opcodes for ARM
@code{@value{AS}} implements all the standard ARM opcodes.
*TODO* Document the pseudo-ops (adr, nop)
For information on the ARM or Thumb instruction sets, see @cite{ARM
Software Development Toolkit Reference Manual}, Advanced RISC Machines
Ltd.
|