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:
Содержание AE80THTD
Страница 1: ......
Страница 290: ...Chapter 7 Example Explanation ScrEdit Software User Manual Revision Apr 30th 2007 2007PDD23000002 7 7 Fig 7 8...
Страница 293: ...Chapter 7 Example Explanation ScrEdit Software User Manual 7 10 Revision Apr 30th 2007 2007PDD23000002 Fig 7 11...
Страница 318: ...Appendix B USB Flash Drive Function ScrEdit Software User Manual Revision Apr 30th 2007 2007PDD23000002 B 13 Fig B 13...
Страница 324: ...Appendix C Main Menu Operation of HMI System ScrEdit Software User Manual Revision Apr 30th 2007 2007PDD23000002 C 5...