
iv
S3C2410X MICROPROCESSOR
Table of Contents
(Continued)
Chapter 3 ARM Instruction Set
Instruction Set Summay.......................................................................................................................... 3-1
Format Summary ........................................................................................................................... 3-1
Instruction Summary....................................................................................................................... 3-2
The Condition Field................................................................................................................................. 3-4
Branch and Exchange (BX)..................................................................................................................... 3-5
Instruction Cycle Times .................................................................................................................. 3-5
Assembler Syntax........................................................................................................................... 3-5
Using R15 As An Operand.............................................................................................................. 3-5
Branch and Branch With Link (B, BL)...................................................................................................... 3-7
The Link Bit.................................................................................................................................... 3-7
Instruction Cycle Times .................................................................................................................. 3-7
Assembler Syntax........................................................................................................................... 3-8
Data Processing...................................................................................................................................... 3-9
Cpsr Flags...................................................................................................................................... 3-11
Shifts.............................................................................................................................................. 3-12
Immediate Operand Rotates........................................................................................................... 3-16
Writing to R15 ................................................................................................................................ 3-16
Using R15 As an Operandy ............................................................................................................ 3-16
TEQ, TST, CMP and CMN Opcodes............................................................................................... 3-16
Instruction Cycle Times .................................................................................................................. 3-16
Assembler Syntax........................................................................................................................... 3-17
Examples ....................................................................................................................................... 3-17
PSR Transfer (MRS, MSR)..................................................................................................................... 3-18
Operand Restrictions...................................................................................................................... 3-18
Reserved Bits................................................................................................................................. 3-20
Examples ....................................................................................................................................... 3-20
Instruction Cycle Times .................................................................................................................. 3-20
Assembly Syntax............................................................................................................................ 3-21
Examples ....................................................................................................................................... 3-21
Multiply and Multiply-Accumulate (MUL, MLA)........................................................................................ 3-22
CPSR Flags.................................................................................................................................... 3-24
Instruction Cycle Times .................................................................................................................. 3-24
Assembler Syntax........................................................................................................................... 3-24
Examples ....................................................................................................................................... 3-24
Multiply Long and Multiply-Accumulate Long (MULL, MLAL)................................................................... 3-25
Operand Restrictions...................................................................................................................... 3-26
Cpsr Flags...................................................................................................................................... 3-26
Instruction Cycle Times .................................................................................................................. 3-26
Assembler Syntax........................................................................................................................... 3-27
Examples ....................................................................................................................................... 3-27