SAB80C517-M16 SIEMENS [Siemens Semiconductor Group], SAB80C517-M16 Datasheet - Page 225

no-image

SAB80C517-M16

Manufacturer Part Number
SAB80C517-M16
Description
8-Bit CMOS Single-Chip Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
MUL
Function:
Description:
Example:
Operation:
Encoding:
Bytes:
Cycles:
Semiconductor Group
AB
Multiply
MUL AB multiplies the unsigned eight-bit integers in the accumulator and register
B. The low-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 (0FF H ) the overflow flag is
set; otherwise it is cleared. The carry flag is always cleared.
Originally the accumulator holds the value 80 (50 H ). Register B holds the value 160
(0A0 H ). The instruction
MUL
will give the product 12,800 (3200 H ), so B is changed to 32 H (00110010 B ) and the
accumulator is cleared. The overflow flag is set, carry is cleared.
MUL
(A7-0)
(B15-8)
1
4
1 0 1 0
AB
(A) x (B)
0 1 0 0
226
Instruction Set

Related parts for SAB80C517-M16