User Tools

Site Tools


en-us_products:mpino_studio2:box_functions:bit_operations

MPINO STUDIO 2 Phase 4-6 · Bitwise Operation Box Functions

These commands apply logic, shift, or rotate operations to the bits in a WORD.

These commands apply logic, shift, or rotate operations to the bits in a WORD.

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.
en-us_products/mpino_studio2/box_functions/bit_operations.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki