422
Symbol Math Instructions
Section 3-11
Description
/U(432) divides the unsigned binary values in Dd by those in Dr and outputs
the quotient to R and the remainder to R+1.
Flags
Precautions
If as a result of the division, the content of R+1 is 0, the Error Flag will turn
ON.
If as a result of the division, the content of R is 0000 hex, the Equals Flag will
turn ON.
If as a result of the division, the content of the leftmost bit of R is 1, the Nega-
tive Flag will turn ON.
Examples
When CIO 000000 is ON in the following example, D00100 will be divided by
D00110 as 4-digit unsigned binary values and the quotient will be output to
D00120 and the remainder will be output to D00121.
Index Registers
---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area
Dd
Dr
R
Dd
Dr
R +1 R
÷
(Unsigned binary)
(Unsigned binary)
(Unsigned binary)
Remainder Quotient
Name
Label
Operation
Error Flag
ER
ON when the result is 0.
OFF in all other cases.
Equals Flag
=
ON when as a result of the division, R is 0.
OFF in all other cases.
Negative Flag
N
ON when the leftmost bit of the R is 1.
OFF in all other cases.
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...