Mitsubishi Electronics E60 Video Game Controller User Manual


 
WOR
- 140 -
{ WOR ... Logical OR of 16-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
S1
S2
D
4
Setting data
S2
S1
Data to be logical ORed
or No. of device
where data is stored.
No. of device to store
logical OR results.
D
WOR
S1
D
WOR
S2
Operation command
Function
Logical OR is executed for each bit of the 16-bit data in the device designated with S1 and the device
designated with S2, and the results are stored in the device designated with D.
Before execution
S1 10 1 1101010100010
WOR
00 1 0101011011100
16-bit
After execution
10 1 1101011111110D
S2
Execution conditions
The execution conditions for WOR are as follow.
Operation command OFF
WOR
ON
Executed per scan
Executed per scan