4.3.14. SDIV and UDIV

Signed and Unsigned Divide.

Syntax

SDIV{cond} Rd, Rn, Rm
UDIV{cond} Rd, Rn, Rm

where:

cond

is an optional condition code (see Conditional execution).

Rd

is the destination register.

Rn

is the register holding the value to be divided.

Rm

is a register holding the divisor.

Architectures

The SDIV and UDIV 16-bit Thumb-2 instructions are available in ARMv7-M only.

There are no 32-bit SDIV and UDIV instructions.

Copyright © 2002-2006 ARM Limited. All rights reserved.ARM DUI 0204G
Non-Confidential