EMUL

VAX11

 

EMUL   EXTENDED MULTIPLY

 

Purpose

perform extended-precision multiplication

Format

opcode mulr.rl, muld.rl, add.rl, prod.wq

Operation

prod ß muld * mulr + SEXT(add);

Condition codes

N ß prod LSS 0;

Z ß prod EQL 0;

V ß 0;

C ß 0;

Exceptions

None

Opcodes

7A       EMUL Extended Multiply

Description

The multiplicand operand is multiplied by the multiplier operand giving a double length result. The addend operand is sign extended to double length and added to the result. The product operand is replaced by the final result.