
bit.ops - Bitwise Opcodes

Operations that deal with bits directly, either individually or in groups.
The variant with an appended s like bands work on strings.
When making changes to any ops file,
run make bootstrap-ops to regenerate all generated ops files.
Set the bits of $1 according to the and of the corresponding bits from $1 and $2.
Set the bits of $1 according to the and of the corresponding bits from $2 and $3.
Set the bits of $1 according to the or of the corresponding bits from $1 and $2.
Set the bits of $1 according to the or of the corresponding bits from $2 and $3.
Shift left $1 by $2 bits.
Set $1 to the value of $2 shifted left by $3 bits.
Shift right $1 by $2 bits.
Set $1 to the value of $2 shifted right by $3 bits.
Shift $1 logically shifted right by $2 bits.
Set $1 to the value of $2 logically shifted right by $3 bits.
Set the bits of $1 according to the xor of the corresponding bits from $1 and $2.
Set the bits of $1 according to the xor of the corresponding bits from $2 and $3.

Copyright (C) 2001-2010, Parrot Foundation.

This program is free software. It is subject to the same license as the Parrot interpreter itself.