ARM Instruction Reference

Condition flags

If S is specified, these instructions:

update the N and Z flags according to the result

corrupt the C and V flags in ARM architecture v4 and earlier

do not affect the C or V flags in ARM architecture v5 and later.

Architectures

These instructions are available in ARM architecture v3M, and ARM architecture v4 and above except xM variants.

Examples

UMULL

r0,r4,r5,r6

UMLALS

r4,r5,r3,r8

SMLALLES

r8,r9,r7,r6

SMULLNE

r0,r1,r9,r0 ; Rs can be the same as other

 

; registers

Incorrect examples

UMULL

r1,r15,r10,r2

; use of r15 not

allowed

SMULLLE

r0,r1,r0,r5

;

RdLo, RdHi and

Rm must all be

 

 

;

different registers

ARM DUI 0068B

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

4-43

Page 153
Image 153
ARM VERSION 1.2 manual Umull