Download 80296SA Microcontroller User`s Manual

Transcript
INSTRUCTION SET REFERENCE
Table A-6. Instruction Set (Continued)
Mnemonic
Operation
Instruction Format
MULUB
(2 operands)
MULTIPLY BYTES, UNSIGNED. Multiplies
the source and destination operands, using
unsigned arithmetic, and stores the word
result into the destination operand. The sticky
bit flag is undefined after the instruction is
executed.
DEST, SRC
MULUB
wreg, baop
(011111aa) (baop) (wreg)
(DEST) ← (DEST) × (SRC)
PSW Flag Settings
MULUB
(3 operands)
Z
N
C
V
VT
ST
—
—
—
—
—
?
MULTIPLY BYTES, UNSIGNED. Multiplies
the two source byte operands, using
unsigned arithmetic, and stores the word
result into the destination operand. The sticky
bit flag is undefined after the instruction is
executed.
DEST, SRC1, SRC2
MULUB
wreg, breg, baop
(010111aa) (baop) (breg) (wreg)
(DEST) ← (SRC1) × (SRC2)
PSW Flag Settings
Z
N
C
V
VT
ST
—
—
—
—
—
?
A-35