Introduction
1-22
Copyright © 2001, 2004 ARM Limited. All rights reserved.
ARM DDI 0210C
The Thumb instruction set summary is listed in Table 1-7.
Table 1-7 Thumb instruction set summary
Operation
Assembly syntax
Move
Immediate
MOV Rd, #8bit_Imm
High to Low
MOV Rd, Hs
Low to High
MOV Hd, Rs
High to High
MOV Hd, Hs
Arithmetic
Add
ADD Rd, Rs, #3bit_Imm
Add Low, and Low
ADD Rd, Rs, Rn
Add High to Low
ADD Rd, Hs
Add Low to High
ADD Hd, Rs
Add High to High
ADD Hd, Hs
Add Immediate
ADD Rd, #8bit_Imm
Add Value to SP
ADD SP, #7bit_Imm ADD SP, #-7bit_Imm
Add with carry
ADC Rd, Rs
Subtract
SUB Rd, Rs, Rn SUB Rd, Rs, #3bit_Imm
Subtract Immediate
SUB Rd, #8bit_Imm
Subtract with carry
SBC Rd, Rs
Negate
NEG Rd, Rs
Multiply
MUL Rd, Rs
Compare Low, and Low
CMP Rd, Rs
Compare Low, and High
CMP Rd, Hs
Compare High, and Low
CMP Hd, Rs
Compare High, and High
CMP Hd, Hs
Compare Negative
CMN Rd, Rs
Compare Immediate
CMP Rd, #8bit_Imm
Logical
AND
AND Rd, Rs
Содержание 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 ...