Mitsubishi Electronics E60 Video Game Controller User Manual


 
DEC
- 106 -
{ DEC ... (16-bit BIN data) –1
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
D
2
DEC
D
DEC command
DEC
Setting data
D
No. of device to be DECed
(-1)
Function
(1) The device (16-bit data) designated with D is decremented by one.
B15...................................B0
5678 (BIN)
D
-1
5677 (BIN)
D
B15...................................B0
(2) If DEC is executed when the details of the device designated with D are 0, -1 will be stored in the
device designated with D.
Execution conditions
The execution conditions for the DEC command are as shown below.
DEC command OFF
DEC
ON
Executed per scan
Executed per scan