Mitsubishi Electronics E60 Video Game Controller User Manual


 
/
- 98 -
{ / ... BIN 16-bit division
Usable device
Bit device Word device
Con-
stant
Pointer Level
X Y M L SM F T C D R Z K H P N
Digit
desig-
nation
No. of
steps
Index
S1
S2
D
5
Division command
/
/
S2S1
D
Setting data
S2
S1
Division data or No. of device
where division data is stored.
Head No. of device to store division
results.
D
Division data or No. of device
where division data is stored.
Function
(1) The BIN data designated with S1 is divided by BIN data designated with S2, and the division
results are stored in the device designated with D.
5678 (BIN)
1234 (BIN) 4 (BIN)
/
S1 S2
Quotient
D
742 (BIN)
Redundant
D+1
B15.....................B0B15.....................B0
B15.....................B0
B15.....................B0
(2) -32768 to 32767 (BIN 16-bit) can be designated in S1 and S2.
(3) The positive/negative of the data in S1, S2 and D is determined with the highest-order bit (B15).
B15
Judgment of
positive/negative
0 Positive
1 Negative
(4) For the word device, the operation results will be stored as quotient and redundant using the
32-bit.
Quotient ... Stored in low-order 16-bit.
Redundant ... Stored in high-order 16-bit.
(5) The S1 and S2 data will not change even after operation is executed.