4.4.10 Longword Multiply

Format:

MULL

Ra.rl,Rb.rl,Rc.wq

!Operate format

MULL

Ra.rl,#b.ib,Rc.wq

!Operate format

Operation:

Rc SEXT ((Rav * Rbv)<31:0>)

Exceptions:

Integer Overflow

Instruction mnemonics:

MULL

Multiply Longword

Qualifiers:

Integer Overflow Enable (/V)

Description:

Register Ra is multiplied by register Rb or a literal and the sign-extended 32-bit product is written to Rc.

The high 32 bits of Ra and Rb are ignored. Rc is a proper sign extension of the truncated 32-bit product. Overflow detection is based on the longword product Rav<31:0> * Rbv<31:0>. On overflow, the proper sign extension of the least significant 32 bits of the true result is written to the destination register.

The MULQ instruction can be used to return the full 64-bit product.

4–34Alpha Architecture Handbook

Page 90
Image 90
Compaq ECQD2KCTE manual Longword Multiply, Mull