en-us_products:mpino_studio2:box_functions:bit_operations
Table of Contents
MPINO STUDIO 2 Phase 4-6 · Bitwise Operation Box Functions
Common Rules
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.
Box Function List
| 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. |
Related Documentation
en-us_products/mpino_studio2/box_functions/bit_operations.txt · Last modified: by 127.0.0.1
