Bit-operation commands process all 16 bits in a WORD. A shift discards bits that leave the word and fills with zero; a rotate brings those bits back at the opposite end.
| Command | Meaning |
|---|---|
| WAND | Applies bitwise AND to two WORD values and stores the result. |
| WOR | Applies bitwise OR to two WORD values and stores the result. |
| WXOR | Applies bitwise XOR to two WORD values and stores the result. |
| WNOT | Inverts every bit in the source WORD and stores the result. |
| SHL | Shifts a WORD left and stores the result. |
| SHR | Logically shifts a D WORD right and stores the result. |
| ROL | Rotates a D, C, or T WORD left. |
| ROR | Rotates a D, C, or T WORD right. |