INSTRUCTION SET REFERENCE

 

 

 

Table A-6. Instruction Set (Continued)

 

 

 

 

 

 

 

 

 

 

Mnemonic

 

 

 

Operation

 

 

 

 

Instruction Format

 

 

 

 

MUL

MULTIPLY INTEGERS. Multiplies the source

 

DEST, SRC

(2 operands)

and destination integer operands, using

MUL

lreg, waop

 

signed arithmetic, and stores the 32-bit result

 

(11111110) (011011aa) (waop) (lreg)

 

into the destination long-integeroperand.

 

 

 

 

The sticky bit flag is undefined after the

 

 

 

instruction is executed.

 

 

 

 

 

 

 

(DEST) (DEST) × (SRC)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

Z

N

C

V

VT

ST

 

 

 

 

 

— —

?

 

 

 

 

MUL

MULTIPLY INTEGERS. Multiplies the two

(3 operands)

source integer operands, using signed

 

arithmetic, and stores the 32-bit result into

 

the destination long-integeroperand. The

 

sticky bit flag is undefined after the instruction

 

is executed.

 

 

 

 

 

 

 

 

(DEST) (SRC1) × (SRC2)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

Z

 

N

C

V

 

VT

ST

 

 

 

 

— —

 

?

 

 

DEST, SRC1, SRC2

MUL lreg, wreg, waop

(11111110) (010011aa) (waop) (wreg) (lreg)

MULB

MULTIPLY SHORT-INTEGERS. Multiplies

(2 operands)

the source and destination short-integer

 

operands, using signed arithmetic, and stores

 

the 16-bit result into the destination integer

 

operand. The sticky bit flag is undefined after

 

the instruction is executed.

 

 

 

 

(DEST) (DEST) × (SRC)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

Z

N

C

V

VT

ST

 

 

 

— —

?

 

 

DEST, SRC

MULB wreg, baop

(11111110) (011111aa) (baop) (wreg)

MULB

MULTIPLY SHORT-INTEGERS. Multiplies

(3 operands)

the two source short-integeroperands,

 

using signed arithmetic, and stores the 16-bit

 

result into the destination integer operand.

 

The sticky bit flag is undefined after the

 

instruction is executed.

 

 

 

 

 

 

(DEST) (SRC1) × (SRC2)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

Z

N

C

V

 

VT

ST

 

 

 

— —

 

?

 

 

DEST, SRC1, SRC2

MULB wreg, breg, baop

(11111110) (010111aa) (baop) (breg) (wreg)

A-25

Page 414
Image 414
Intel 8XC196MD, 8XC196MH, 8XC196MC manual Mulb