ARM VERSION 1.2 Thumb arithmetic instructions, ADD and SUB, sp on, ADD, pc or sp relative on

Models: VERSION 1.2

1 360
Download 360 pages 38.37 Kb
Page 209
Image 209

Thumb Instruction Reference

5.2Thumb arithmetic instructions

This section contains the following subsections:

ADD and SUB, low registers on page 5-16 Add and subtract.

ADD, high or low registers on page 5-18

Add values in registers, one or both of them in the range r8 to r15.

ADD and SUB, sp on page 5-19

Increment or decrement sp by an immediate constant.

ADD, pc or sp relative on page 5-20

Add an immediate constant to the value from sp or pc, and place the result into a low register.

ADC, SBC, and MUL on page 5-21

Add with carry, Subtract with carry, and Multiply.

ARM DUI 0068B

Copyright © 2000, 2001 ARM Limited. All rights reserved.

5-15

Page 209
Image 209
ARM VERSION 1.2 manual Thumb arithmetic instructions, ADD and SUB, sp on, ADD, pc or sp relative on, ADC, SBC, and MUL on