Introduction
ARM DDI 0210C
Copyright © 2001, 2004 ARM Limited. All rights reserved.
1-13
1.4.2
ARM instruction summary
The ARM instruction set summary is listed in Table 1-2.
Table 1-2 ARM instruction summary
Operation
Assembly syntax
Move
Move
MOV{cond}{S} Rd, <Oprnd2>
Move NOT
MVN{cond}{S} Rd, <Oprnd2>
Move SPSR to register
MRS{cond} Rd, SPSR
Move CPSR to register
MRS{cond} Rd, CPSR
Move register to SPSR
MSR{cond} SPSR{field}, Rm
Move register to CPSR
MSR{cond} CPSR{field}, Rm
Move immediate to SPSR flags
MSR{cond} SPSR_f, #32bit_Imm
Move immediate to CPSR flags
MSR{cond} CPSR_f, #32bit_Imm
Arithmetic
Add
ADD{cond}{S} Rd, Rn, <Oprnd2>
Add with carry
ADC{cond}{S} Rd, Rn, <Oprnd2>
Subtract
SUB{cond}{S} Rd, Rn, <Oprnd2>
Subtract with carry
SBC{cond}{S} Rd, Rn, <Oprnd2>
Subtract reverse subtract
RSB{cond}{S} Rd, Rn, <Oprnd2>
Subtract reverse subtract with carry
RSC{cond}{S} Rd, Rn, <Oprnd2>
Multiply
MUL{cond}{S} Rd, Rm, Rs
Multiply accumulate
MLA{cond}{S} Rd, Rm, Rs, Rn
Multiply unsigned long
UMULL{cond}{S} RdLo, RdHi, Rm, Rs
Multiply unsigned accumulate long
UMLAL{cond}{S} RdLo, RdHi, Rm, Rs
Multiply signed long
SMULL{cond}{S} RdLo, RdHi, Rm, Rs
Multiply signed accumulate long
SMLAL{cond}{S} RdLo, RdHi, Rm, Rs
Compare
CMP{cond} Rd, <Oprnd2>
Compare negative
CMN{cond} Rd, <Oprnd2>
Logical
Test
TST{cond} Rn, <Oprnd2>
Содержание 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 ...