Mitsubishi Electronics E60 Video Game Controller User Manual


 
D–
- 92 -
{ D– ... BIN 32-bit subtraction
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
4/5
Setting data
S2
S1
D
Head No. of device to store subtraction
results.
Subtraction data or head No. of device
where subtraction data is stored.
Subtraction data or head No. of device
where subtraction data is stored.
Subtraction command
D-
D-
S2S1
D
Function
(1) The device designated with S2 is subtracted from the device designated with S1, and the
subtraction results are stored in the device designated with D.
D-
S2
S1
D
567890 (BIN) 123456 (BIN) 444434 (BIN)
S1
S1+1
S2S2+1
-
D
D+1
B31......B16B15.......B0
B31......B16B15.......B0 B31......B16B15.......B0
(2) -2147483648 to 2147483647 (BIN 32-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 (B31).
B31
Judgment of
positive/negative
0 Positive
1 Negative
(4) The carry flag will not turn ON even if an underflow results.