Mitsubishi Electronics E60 Video Game Controller User Manual


 
DAND
- 138 -
{ DAND ... Logical AND of 32-bit data
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
S
D
3/4
Setting data
S
The logical AND results
are stored in D device.
D
Data to be logical ANDed
or head No. of device
where data is stored.
DAND
DAND
S D
Operation command
Function
(1) Logical AND is executed for each bit of the 32-bit data in the device designated with D and the
device designated in S, and the results are stored in the device designated with D.
Before execution
D
11 0111110001111
DAND
00 1001001001010
32-bit
After execution
00 0001000001010
D
S
(2) The bit device other than the designated digits are operated as 0.
(Refer to program example (1).)
Execution conditions
The execution conditions for the DAND command are as follow.
Operation command OFF
DAND
ON
Executed per scan
Executed per scan