Compaq ECQD2KCTE manual Quadword Multiply, Mulq

Models: ECQD2KCTE

1 371
Download 371 pages 20.35 Kb
Page 91
Image 91

4.4.11 Quadword Multiply

Format:

MULQ

Ra.rq,Rb.rq,Rc.wq

!Operate format

MULQ

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

!Operate format

Operation:

Rc Rav * Rbv

Exceptions:

Integer Overflow

Instruction mnemonics:

MULQ

Multiply Quadword

Qualifiers:

Integer Overflow Enable (/V)

Description:

Register Ra is multiplied by register Rb or a literal and the 64-bit product is written to register Rc. Overflow detection is based on considering the operands and the result as signed quanti- ties. On overflow, the least significant 64 bits of the true result are written to the destination register.

The UMULH instruction can be used to generate the upper 64 bits of the 128-bit result when an overflow occurs.

Instruction Descriptions 4–35

Page 91
Image 91
Compaq ECQD2KCTE manual Quadword Multiply, Mulq