6.10.4 WAND - B 、 WOR - B 、 WXOR - B
Input/output Operand
Data type
IN1, IN2
VB, IB, QB, MB, SB, SMB, LB, AC,constant, *VD, *AC, *LD
Byte
OUT
VB, IB, QB, MB, SB, SMB, LB, AC, *VD, *AC, *LD
Byte
WAND - B:The instruction performs “And calculation”
on IN1 and IN2.Then puts the result in out.
WOR - B:The instruction performs “OR calculation” on
IN1 and IN2.Then puts the result in out.
WXOR - B:The instruction performs “XOR calculation”
on IN1 and IN2.Then puts the result in out.
error condition:
0006
Indirect address
Special memory bit:
SM1.0
Zero result
Example:
153
Made with FlippingBook - Online magazine maker