gc80c520a CORERIVER Semiconductor, gc80c520a Datasheet - Page 137

no-image

gc80c520a

Manufacturer Part Number
gc80c520a
Description
Midas1.0 Family Mask Rom/eprom/romless 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
MiDAS1.0 Family
MUL
AB
Multiply
Function:
Description:
MUL AB multiplies the unsigned eight-bit integers in the Accumulator and
register B. The Iow-order byte of the sixteen-bit product is left in the
Accumulator, and the high-order byte in B. If the product is greater than 255
(0FFh) the overflow flag is set; otherwise it is cleared. The carry flag is always
cleared.
Example:
Originally the Accumulator holds the value 80 (50h). Register B holds the value
160 (0A0h). The instruction,
MUL AB
will give the product 12,800 (3200h), so B is changed to 32h (00110010b) and
the Accumulator is cleared. The overflow flag is set, carry is cleared.
1
Bytes:
Cycles:
3
Encoding:
1
0
1
0
0 1 0 0
MUL
Operation:
(A)
, (B)
(A) X (B)
7-0
15-8
Page 137 of 187

Related parts for gc80c520a