Application instructions

3.27.2Logical Operation Instructions :

16-bit Logical Product ... WAND, WANDP

 

 

 

 

 

Usable Devices

 

 

 

 

Error

 

 

 

 

 

Word (16-bit)

 

 

 

 

 

 

Bit devices

Constants

Level

Digit

Flag

 

 

 

devices

 

 

 

 

 

 

 

 

 

 

 

Designation

 

 

 

X

Y

M

T

C

D

K

H

N

(M9010,

 

 

 

M9011)

 

 

 

 

 

 

 

 

 

 

 

 

 

S

{

{

{

{

{

{

{

{

 

 

 

 

D

 

{

{

{

{

{

 

 

 

 

 

WAND

S1

{

{

{

{

{

{

{

{

 

K1 to K4

{

 

S2

{

{

{

{

{

{

{

{

 

 

 

 

D1

 

{

{

{

{

{

 

 

 

 

 

 

Operation

 

 

 

 

 

 

 

 

 

 

 

commands

 

 

WAND

 

 

 

S

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S1

Data to be ANDed or

 

 

 

 

 

 

 

 

 

 

head numbers of

 

 

 

 

 

 

 

 

 

S2

 

 

 

 

 

 

WANDP

 

devices that store data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D

 

Operation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

commands

 

 

 

 

 

 

 

 

Head number of device

 

 

 

 

 

 

 

 

 

 

 

 

WAND

 

 

D1

that will store result of

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

logical product.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WANDP

Functions

WAND

(1)ANDs the 16-bit data of the device specified at D and the 16-bit data of the device specified at S on a bit-by-bit basis, and stores the result into the device specified at D .

16 bits

Before execution

After execution

156

Page 161
Image 161
Mitsubishi Electronics 700 Series, FR-A700 specifications Wand