Event Instruction BB
AND Variable bitwise operand | Variable1 = Variable1 AND Variable2
Variable 1 : Half-Word (hex)
Variable 2 : Half-Word (hex)
Using ANDVar to force a variable to be a positive value
Set a variable to be your Whole Number Register. Let's say it's variable x0005. You need to set it to a value of x7FFF FFFF.
Let's say the number you want to force to be positive is x0070. ANDVar that against the Whole Number Register.