ARM ARM7TDMI User Manual Page 3

  • Download
  • Add to my manuals
  • Print
  • Page
    / 43
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 2
i
Table of Contents
1 Instruction Encoding ............................................................................................................................................ 1
1.1 ARM7TDMI – ARM Instructions .............................................................................................................................. 1
1.2 ARM7TDMI – THUMB Instructions .......................................................................................................................... 2
2 Conditional Execution ........................................................................................................................................... 2
2.1 Condition Field ...................................................................................................................................................... 2
2.2 Condition Codes .................................................................................................................................................... 2
3 Addressing, Operands and Directives ................................................................................................................... 3
3.1 General Notes ....................................................................................................................................................... 3
3.2 Shifter Operands ................................................................................................................................................... 3
3.3 Load/Store Register Addressing Modes ................................................................................................................... 6
3.4 Miscellaneous Load/Store Addressing Modes ........................................................................................................... 8
3.5 Memory Allocation and Operand Alignment ............................................................................................................. 9
3.6 Miscellaneous Assembler Directives ....................................................................................................................... 10
4 Instruction Descriptions ..................................................................................................................................... 12
4.1 General Information ............................................................................................................................................. 12
4.2 ADC – Add with Carry ........................................................................................................................................... 12
4.3 ADD - Add ........................................................................................................................................................... 13
4.4 AND – Bit-wise AND ............................................................................................................................................. 13
4.5 B, BL – Branch, Branch and Link ........................................................................................................................... 14
4.6 BIC – Bit Clear ..................................................................................................................................................... 15
4.7 BX – Branch and Exchange ................................................................................................................................... 15
4.8 CMN – Compare Negative ..................................................................................................................................... 16
4.9 CMP - Compare .................................................................................................................................................... 16
4.10 EOR – Bit-wise Exclusive-OR ................................................................................................................................. 17
4.11 LDM – Load Multiple .............................................................................................................................................
17
4.12 LDR – Load Register ............................................................................................................................................. 19
4.13 LDRB – Load Register Byte ................................................................................................................................... 20
4.14 LDRH – Load Register Halfword ............................................................................................................................ 20
4.15 LDRSB – Load Register Signed Byte ...................................................................................................................... 21
4.16 LDRSH – Load Register Signed Halfword ............................................................................................................... 21
4.17 MLA – Multiply-Accumulate ................................................................................................................................... 22
4.18 MOV Move ........................................................................................................................................................ 22
4.19 MRS – Move PSR into General-Purpose Register ..................................................................................................... 23
4.20 MSR – Move to Status Register from ARM Register ................................................................................................ 23
4.21 MUL – Multiply ..................................................................................................................................................... 24
4.22 MVN – Move Negative .......................................................................................................................................... 25
4.23 ORR – Bit-wise Inclusive-OR ................................................................................................................................. 25
4.24 RSB – Reverse Subtract ........................................................................................................................................ 26
4.25 RSC – Reverse Subtract with Carry ........................................................................................................................ 26
4.26 SBC – Subtract with Carry .................................................................................................................................... 27
4.27 SMLAL – Signed Multiply-Accumulate Long ............................................................................................................ 27
4.28 SMULL – Signed Multiply Long .............................................................................................................................. 28
4.29 STM – Store Multiple ............................................................................................................................................ 28
4.30 STR – Store Register ............................................................................................................................................ 30
4.31 STRB – Store Register Byte .................................................................................................................................. 30
4.32 STRH – Store Register Halfword ............................................................................................................................ 31
4.33 SUB - Subtract ..................................................................................................................................................... 31
4.34 SWI – Software Interrupt ..................................................................................................................................... 32
4.35 SWP - Swap ......................................................................................................................................................... 32
4.36 SWPB – Swap Byte .............................................................................................................................................. 33
4.37 TEQ – Test Equivalence ........................................................................................................................................ 34
4.38 TST - Test ...............................................................................................................
............................................ 34
4.39 UMLAL – Unsigned Multiply-Accumulate Long ........................................................................................................ 35
4.40 UMULL – Unsigned Multiply Long .......................................................................................................................... 35
5 Pseudo-Instructions ........................................................................................................................................... 36
5.1 ADR – Load Address (short-range) ........................................................................................................................ 36
5.2 ADRL – Load Address (medium-range) .................................................................................................................. 36
5.3 ASR – Arithmetic Shift Right ................................................................................................................................. 36
5.4 LDR – Load Register ............................................................................................................................................. 37
5.5 LSL – Logical Shift Left ......................................................................................................................................... 37
5.6 LSR – Logical Shift Right....................................................................................................................................... 37
5.7 NOP – No Operation ............................................................................................................................................. 38
5.8 POP - Pop ............................................................................................................................................................ 38
5.9 PUSH - Push ........................................................................................................................................................ 38
5.10 ROR – Rotate Right .............................................................................................................................................. 38
5.11 RRX – Rotate Right with Extend ............................................................................................................................ 39
Page view 2
1 2 3 4 5 6 7 8 ... 42 43

Comments to this Manuals

No comments