Fujitsu CM71-00101-5E Manuel D’Utilisation
![Fujitsu](https://files.manualsbrain.com/attachments/6c4642b33d2edbd09f94719c20a133aa0e862902/common/fit/150/50/80a45702a21fefb1823bce6851e87db450dccf7792cb572ebc8a90330a68/brand_logo.png)
136
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.42
DIV3 (Correction when Remainder is 0)
This instruction is used in signed division. It should be used in combinations such as
DIV0S, DIV1 x 32, DIV2, DIV3 and DIV4S.
DIV0S, DIV1 x 32, DIV2, DIV3 and DIV4S.
■
DIV3 (Correction when Remainder is 0)
Assembler format:
DIV3
Operation:
if (Z = = 1) {
MDL + 1
→
MDL
}
Flag change:
N, Z, V, and C: Unchanged
Execution cycles:
1 cycle
Instruction format:
Example:
DIV3
N
Z
V
C
–
–
–
–
MSB
LSB
1
0
0
1
1
1
1
1
0
1
1
0
0
0
0
0
MDH
MDL
D1 D0 T
S
CR
S
CR
D1 D0 T
0 0 0
0 0 0
R2
0 0 F F F F F F
MDH
MDL
R2
0 0 0 0
0 0 1 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 F
0 0 0 0
0 0 0 0
0 0 F F F F F F
N Z V C
CCR
CCR
N Z V C
0 1 0 0
0 1 0 0
Before exec
u
tion
After exec
u
tion
In
s
tr
u
ction
b
it p
a
ttern : 1001 1111 0110 0000