Mitsubishi Electronics E60 Video Game Controller User Manual


 
- 90 -
{ – ... BIN 16-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
-
S2
S1
D
-
Subtraction command
Setting data
S2
S1
No. of device to store subtraction
results.
D
Subtraction data or No. of device
where subtraction data is stored.
Subtraction data or No. of device
where subtraction data is stored.
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.
-
S2
S1
D
5678 (BIN) 1234 (BIN) 4444 (BIN)
S1 S2
D
-
B15.....................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) The carry flag will not turn ON even if an underflow results.