![](http://datasheet.mmic.net.cn/330000/MB90P214A_datasheet_16438122/MB90P214A_86.png)
MB90210 Series
86
Table 12 Unsigned Multiplication and Division Instructions (Word/Long Word) [11 Instructions]
For an explanation of “(b)” and “(c), refer to Table 5, “Correction Values for Number of Cycle Used to Calculate
Number of Actual Cycles.”
*1: 3 when dividing into zero, 6 when an overflow occurs, and 14 normally.
*2: 3 when dividing into zero, 5 when an overflow occurs, and 13 normally.
*3: 5 + (a) when dividing into zero, 7 + (a) when an overflow occurs, and 17 + (a) normally.
*4: 3 when dividing into zero, 5 when an overflow occurs, and 21 normally.
*5: 4 + (a) when dividing into zero, 7 + (a) when an overflow occurs, and 25 + (a) normally.
*6: (b) when dividing into zero or when an overflow occurs, and 2
×
(b) normally.
*7: (c) when dividing into zero or when an overflow occurs, and 2
×
(c) normally.
*8: 3 when byte (AH) is zero, and 7 when byte (AH) is not 0.
*9: 3 when byte (ear) is zero, and 7 when byte (ear) is not 0.
*10: 4 + (a) when byte (eam) is zero, and 8 + (a) when byte (eam) is not 0.
*11: 3 when word (AH) is zero, and 11 when word (AH) is not 0.
*12: 3 when word (ear) is zero, and 11 when word (ear) is not 0.
*13: 4 + (a) when word (eam) is zero, and 12 + (a) when word (eam) is not 0.
Mnemonic
#
cycles
B
Operation
LH AH I
S
T
N Z
V
C RMW
DIVU
A
DIVU
A, ear
DIVU
A, eam
DIVUW A, ear
DIVUW A, eam
MULU A
MULU
MULU
MULUW A
MULUW A, ear
MULUW A, eam
A, ear
A, eam
1
2
2+
2
2+
1
2
2+
1
2
2+
*
1
*
2
*
3
*
4
*
5
*
8
*
9
*
10
*
11
*
12
*
13
0
0
*
6
0
*
7
0
0
(b)
0
0
(c)
word (AH) /byte (AL)
Quotient
→
byte (AL) Remainder
→
byte (AH)
word (A)/byte (ear)
Quotient
→
byte (A) Remainder
→
byte (ear)
word (A)/byte (eam)
Quotient
→
byte (A) Remainder
→
byte (eam)
long (A)/word (ear)
Quotient
→
word (A) Remainder
→
word (ear)
long (A)/word (eam)
Quotient
→
word (A) Remainder
→
word (eam)
byte (AH)
×
byte (AL)
→
word (A)
byte (A)
×
byte (ear)
→
word (A)
byte (A)
×
byte (eam)
→
word (A)
word (AH)
×
word (AL)
→
long (A)
word (A)
×
word (ear)
→
long (A)
word (A)
×
word (eam)
→
long (A)
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
–
–
–
–
–
–
*
*
*
*
*
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–