DR805x Instructions set details
- 57 -
3.27. MUL
Instruction:
Function:
MUL AB
Multiply
Description: 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.
Operation:
(PC) ← (PC) + 1
(A) ← (A) x (B) – result’s bits 7..0
(B) ← (A) x (B) – result’s bits 15..8
Bytes:
Cycles:
1
4
Encoding:
1
0
1
0
0
1
0
0
All trademarks mentioned in this document
are trademarks of their respective owners.
http://www.DigitalCoreDesign.com
http://www.dcd.pl
Copyright 1999-2003 DCD – Digital Core Design. All Rights Reserved.