Delta Electronics DOP-AS Series Network Card User Manual


 
Chapter 4 Macro Function|ScrEdit Software User Manual
4-20 Revision Apr. 30th, 2007, 2007PDD23000002
| Operand
Bit OR operation
Equation: V1 = V2 | V3
Perform the Bit OR operation on V2 and V3 and save the result of this calculation in V1.
Example:
$2 = F000H
$4 = 0F00H
$6 = $2 | $4
Store the result of $6 in FF00H
&& Operand
Bit AND operation
Equation: V1 = V2 && V3
Perform the Bit AND operation on V2 and V3 and save the result of this calculation in V1.
Example:
$2 = F000H
$4 = 0F00H
$6 = $2 && $4
Store the result of $6 in 0000H
^ Operand
Bit XOR operation
Equation: V1 = V2 ^ V3
Perform the Bit XOR operation on V2 and V3 and save the result of this calculation in V1.
Example:
$2 = F100H
$4 = 0F00H
$6 = $2 ^ $4
Store the result of $6 in FE00H
NOT
Bit NOT operation
Equation: V1 = NOT V2
Perform the Bit NOT operation on V2 and V3 and save the result of this calculation in V1.
Example: