umul

Assembly Syntax

umul regrs1, reg_or_imm, regrd

op3

001010

Operation

Unsigned multiply the contents of regrs1 and reg_or_imm and place result in regrd.

Comments

Multiplication is an expensive operation; when possible, it should be avoided (see shift instructions)

Example

umul %r1, %r2, %r3

Example

umul %r1, 2, %r1

Instruction format

Instruction format

Home Page Index Page All Arithmetic Instructions