ARM Processor Instruction Set
ARM Processor Instruction Set
ARM Processor Instruction Set
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>ARM</strong> <strong>Processor</strong> <strong>Instruction</strong> <strong>Set</strong><br />
5.8.9 Assembler syntax<br />
5-30<br />
{cond} Rn{!},{^}<br />
where:<br />
{cond} is a two-character condition mnemonic, see Figure 5-2: Condition<br />
codes on page 5-2<br />
Rn is an expression evaluating to a valid register number<br />
is a list of registers and register ranges enclosed in {} (e.g. {R0,R2-<br />
R7,R10}).<br />
{!} (if present) requests write-back (W=1), otherwise W=0<br />
{^} (if present) set S bit to load the CPSR along with the PC, or force<br />
transfer of user bank when in privileged mode<br />
5.8.10 Addressing mode names<br />
There are different assembler mnemonics for each of the addressing modes,<br />
depending on whether the instruction is being used to support stacks or for other<br />
purposes. The equivalencies between the names and the values of the bits in<br />
the instruction are shown in Table 5-6: Addressing mode names:<br />
Key to table<br />
FD, ED, FA, EA define pre/post indexing and the up/down bit by reference to the form<br />
of stack required.<br />
F Full stack (a pre-index has to be done before storing to the stack)<br />
E Empty stack<br />
A The stack is ascending (an STM will go up and LDM down)<br />
D The stack is descending (an STM will go down and LDM up)<br />
The following symbols allow control when LDM/STM are not being used for stacks:<br />
IA Increment After<br />
IB Increment Before<br />
DA Decrement After<br />
DB Decrement Before<br />
<strong>ARM</strong>7500FE Data Sheet<br />
<strong>ARM</strong> DDI 0077B<br />
Named Partner Open Confidential Access - Preliminary - Preliminary Draft