 |
ALPHA-VISION® Bit Operations: XorBits
|
XorBits
SUMMARY
XorBits - Calculates the bit wise EXCLUSIV-OR gating of the given
arguments
SYNTAX
XorBits(
<arg1, arg2, ...>);
ARGUMENTS
- arg1 ...argN (type:integer)
-
The operands of the EXCLUSIV-OR gating.
DESCRIPTION
Stack
- Missing arguments are taken from the stack (and removed from there).
- The result is pushed onto the stack.
Effect
Calculates the bit wise EXCLUSIV-OR gating of the given arguments,
whereby there are interpreted as integer numbers:
arg1 EXCLUSIV-OR arg2 EXCLUSIV-OR ... EXCLUSIV-OR argN
EXAMPLES
//Stack before (2 Elemente):
//"0xff"
//TRUE //interpreted as 1
XorBits(,0x11, );
//Stack afterwards (1 Element):
//0xef
Syntax Notation
- [aaa]
- aaa is optional (zero or one occurences)
- (aaa|bbb)
- aaa exclusive or bbb
- (aaa)*
- aaa may occur indefinitely often or may be omitted
- (aaa)+
- aaa may occur indefinitely often but at least once
- (aaa)m..n
- aaa may occur from m to n times