Introduction
ARM DDI 0210C
Copyright © 2001, 2004 ARM Limited. All rights reserved.
1-15
Addressing modes
The addressing modes are procedures shared by different instructions for generating
values used by the instructions. The five addressing modes used by the ARM7TDMI
processor are:
Mode 1
Shifter operands for data processing instructions.
Mode 2
Load and store word or unsigned byte.
Mode 3
Load and store halfword or load signed byte.
Mode 4
Load and store multiple.
Mode 5
Load and store coprocessor.
Byte
STR{cond}B Rd, <a_mode2>
Byte with user-mode privilege
STR{cond}BT Rd, <a_mode2P>
Halfword
STR{cond}H Rd, <a_mode3>
Multiple block data operations
-
•
Increment before
STM{cond}IB Rd{!}, <reglist>{^}
•
Increment after
STM{cond}IA Rd{!}, <reglist>{^}
•
Decrement before
STM{cond}DB Rd{!}, <reglist>{^}
•
Decrement after
STM{cond}DA Rd{!}, <reglist>{^}
•
Stack operation
STM{cond}<a_mode4S> Rd{!}, <reglist>
•
Stack operation with user registers
STM{cond}<a_mode4S> Rd{!}, <reglist>^
Swap
Word
SWP{cond} Rd, Rm, [Rn]
Byte
SWP{cond}B Rd, Rm, [Rn]
Coprocessors
Data operation
CDP{cond} p<cpnum>, <op1>, CRd, CRn, CRm, <op2>
Move to ARM register from coprocessor
MRC{cond} p<cpnum>, <op1>, Rd, CRn, CRm, <op2>
Move to coprocessor from ARM register
MCR{cond} p<cpnum>, <op1>, Rd, CRn, CRm, <op2>
Load
LDC{cond} p<cpnum>, CRd, <a_mode5>
Store
STC{cond} p<cpnum>, CRd, <a_mode5>
Software interrupt
SWI 24bit_Imm
Table 1-2 ARM instruction summary (continued)
Operation
Assembly syntax
Содержание ARM7TDMI
Страница 6: ...Contents vi Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 10: ...List of Tables x Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 14: ...List of Figures xiv Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 46: ...Introduction 1 26 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 120: ...Coprocessor Interface 4 18 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 142: ...Debug Interface 5 22 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 276: ...Differences Between Rev 3a and Rev 4 C 6 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 282: ...Glossary Glossary 6 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...