8XC196MC, MD, MH USER’S MANUAL

Table A-6. Instruction Set (Continued)

Mnemonic

 

 

 

Operation

 

 

 

 

Instruction Format

MULU

MULTIPLY WORDS, UNSIGNED. Multiplies

 

DEST, SRC

(2 operands)

the source and destination word operands,

MULU

lreg, waop

 

using unsigned arithmetic, and stores the 32-

 

(011011aa) (waop) (lreg)

 

bit result into the destination double-word

 

 

 

 

operand. The sticky bit flag is undefined after

 

 

 

the instruction is executed.

 

 

 

 

 

 

(DEST) (DEST) × (SRC)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

Z

N

C

V

VT

ST

 

 

 

 

 

— —

?

 

 

 

 

MULU

MULTIPLY WORDS, UNSIGNED. Multiplies

(3 operands)

the two source word operands, using

 

unsigned arithmetic, and stores the 32-bit

 

result into the destination double-word

 

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

MULU lreg, wreg, waop (010011aa) (waop) (wreg) (lreg)

MULUB

MULTIPLY BYTES, UNSIGNED. Multiplies

 

DEST, SRC

(2 operands)

the source and destination operands, using

MULUB

wreg, baop

 

unsigned arithmetic, and stores the word

 

(011111aa) (baop) (wreg)

 

result into the destination operand. The sticky

 

 

 

 

bit flag is undefined after the instruction is

 

 

 

executed.

 

 

 

 

 

 

 

 

 

 

 

(DEST) (DEST) × (SRC)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

N

 

C

V

 

VT

ST

 

 

 

 

 

 

?

 

 

 

 

 

 

 

 

MULUB

MULTIPLY BYTES, UNSIGNED. Multiplies

 

DEST, SRC1, SRC2

(3 operands)

the two source byte operands, using

MULUB

wreg, breg, baop

 

unsigned arithmetic, and stores the word

 

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

 

result into the destination operand. The sticky

 

 

 

 

bit flag is undefined after the instruction is

 

 

 

executed.

 

 

 

 

 

 

 

 

 

 

 

(DEST) (SRC1) × (SRC2)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

N

 

C

V

 

VT

ST

 

 

 

 

 

 

?

 

 

 

 

A-26

Page 415
Image 415
Intel 8XC196MH, 8XC196MD, 8XC196MC manual Mulub