Intel 8XC196NP Microscope & Magnifier User Manual


 
8XC196NP, 80C196NU USER’S MANUAL
A-30
MULB
(3 operands)
MULTIPLY SHORT-INTEGERS. Multiplies
the two source 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)
(SRC1) × (SRC2)
DEST, SRC1, SRC2
MULB wreg, breg, baop
(11111110) (010111aa) (baop) (breg) (wreg)
PSW Flag Settings
ZNCVVTST
————— ?
MULU
(2 operands)
MULTIPLY WORDS, UNSIGNED. Multiplies
the source and destination 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)
(DEST) × (SRC)
DEST, SRC
MULU lreg, waop
(011011aa) (waop) (lreg)
PSW Flag Settings
ZNCVVTST
————— ?
MULU
(3 operands)
MULTIPLY WORDS, UNSIGNED. Multiplies
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)
DEST, SRC1, SRC2
MULU lreg, wreg, waop
(010011aa) (waop) (wreg) (lreg)
NOTE: (8XC196NU only.) A destination
address in the range 00H–0FH
enables the multiply-accumulate
function. When set, bit 3 of the
destination address causes the
accumulator to be cleared before
the results of the multiply are
added to the contents of the accu-
mulator. For example, if the desti-
nation address is 08H, the
accumulator is cleared and then
the results of the multiply are
added. However, if the destination
address is 00H, the results of the
multiply are added to the current
contents of the accumulator.
PSW Flag Settings
ZNCVVTST
————— ?
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format