Fujitsu CM71-00101-5E 사용자 설명서
![Fujitsu](https://files.manualsbrain.com/attachments/6c4642b33d2edbd09f94719c20a133aa0e862902/common/fit/150/50/80a45702a21fefb1823bce6851e87db450dccf7792cb572ebc8a90330a68/brand_logo.png)
134
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.41
DIV2 (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.
■
DIV2 (Correction when Remainder is 0)
Assembler format:
DIV2 Ri
Operation:
if (D1 = = 1) {
MDH + Ri
→
temp
}
else {
else {
MDH – Ri
→
temp
}
if (Z == 1) {
if (Z == 1) {
0
→
MDH
}
Flag change:
N and V: Unchanged
Z: Set when the operation result of stepwise division is "0", cleared otherwise. Set according to
remainder of division results, not according to quotient.
C: Set when the result of stepwise division involves a carry or borrow operation, cleared otherwise.
Execution cycles:
1 cycle
Instruction format:
N
Z
V
C
–
C
–
C
MSB
LSB
1
0
0
1
0
1
1
1
0
1
1
1
Ri