Intel Microcontroller Microscope & Magnifier User Manual


 
A-29
INSTRUCTION SET REFERENCE
MUL
(2 operands)
MULTIPLY INTEGERS. Multiplies the source
and destination integer operands, using
signed arithmetic, and stores the 32-bit result
into the destination long-integer operand.
The sticky bit flag is undefined after the
instruction is executed.
(DEST)
(DEST) × (SRC)
DEST, SRC
MUL lreg, waop
(11111110) (011011aa) (waop) (lreg)
PSW Flag Settings
ZNCVVTST
————— ?
MUL
(3 operands)
MULTIPLY INTEGERS. Multiplies the two
source integer operands, using signed
arithmetic, and stores the 32-bit result into
the destination long-integer operand. The
sticky bit flag is undefined after the instruction
is executed.
(DEST)
(SRC1) × (SRC2)
DEST, SRC1, SRC2
MUL lreg, wreg, waop
(11111110) (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
————— ?
MULB
(2 operands)
MULTIPLY SHORT-INTEGERS. Multiplies
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)
DEST, SRC
MULB wreg, baop
(11111110) (011111aa) (baop) (wreg)
PSW Flag Settings
ZNCVVTST
————— ?
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format