Fujitsu MB90335 Series Hardware Manual page 586

16-bit microcontroller
Table of Contents

Advertisement

MB90335 Series
Table B.8-6 11 Unsigned Multiplication/Division Instructions (Word, Long Word)
Mnemonic
#
DIVU
A
1
DIVU
A,ear
2
DIVU
A,eam
2+
DIVUW
A,ear
2
DIVUW
A,eam
2+
MULU
A
1
MULU
A,ear
2
MULU
A,eam
2+
MULUW
A
1
MULUW
A,ear
2
MULUW
A,eam
2+
*1: 3: Division by 0 7: Overflow 15: Normal
*2: 4: Division by 0 8: Overflow 16: Normal
*3: 6+(a): Division by 0 9+(a): Overflow 19+(a): Normal
*4: 4: Division by 0 7: Overflow 22: Normal
*5: 6+(a): Division by 0 8+(a): Overflow 26+(a): Normal
*6: (b): Division by 0 or overflow 2 × (b): Normal
*7: (c): Division by 0 or overflow 2 × (c): Normal
*8: 3: Byte (AH) is 0. 7: Byte (AH) is not 0.
*9: 4: Byte (ear) is 0. 8: Byte (ear) is not 0.
*10: 5+(a): Byte (eam) is 0, 9+(a): Byte (eam) is not 0.
*11: 3: Word (AH) is 0. 11: Word (AH) is not 0.
*12: 4: Word (ear) is 0. 12: Word (ear) is not 0.
*13: 5+(a): Word (eam) is 0. 13+(a): Word (eam) is not 0.
Note:
See Table B.5-1 and Table B.5-2 for information on (a) to (c) in the table.
CM44-10137-6E
~
RG
B
*1
0
0
word (AH) / byte (AL)
quotient → byte (AL) remainder → byte (AH)
*2
1
0
word (A) / byte (ear)
quotient → byte (A) remainder → byte (ear)
*3
0
*6
word (A) / byte (eam)
quotient → byte (A) remainder → byte (eam)
*4
1
0
long (A) / word (ear)
quotient → word (A) remainder → word (ear)
*5
0
*7
long (A) / word (eam)
quotient → word (A) remainder → word (eam)
byte (AH) * byte (AL) → word (A)
*8
0
0
byte (A) * byte (ear) → word (A)
*9
1
0
byte (A) * byte (eam) → word (A)
*10
0
(b)
word (AH) * word (AL) → Long (A)
*11
0
0
word (A) * word (ear) → Long (A)
*12
1
0
word (A) * word (eam) → Long (A)
*13
0
(c)
FUJITSU MICROELECTRONICS LIMITED
Operation
LH
-
-
-
-
-
-
-
-
-
-
-
APPENDIX B Instructions
2
B.8 F
MC-16LX Instruction List
AH
I
S
T
N
Z
V
-
-
-
-
-
-
*
-
-
-
-
-
-
*
-
-
-
-
-
-
*
-
-
-
-
-
-
*
-
-
-
-
-
-
*
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
C
RMW
*
-
*
-
*
-
*
-
*
-
-
-
-
-
-
-
-
-
-
-
-
-
565

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lxMb90v330aMb90f337Mb90337

Table of Contents