Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Bit Shift Block

Bit Shift Block

The Bit Shift block emits the logical bit shift of its input, either left or right, by a specified number of bits.

Parameters

  • Bits (default = 0): The number of bits to shift the input by.
  • Method [Right | Left]
    • Right: Right shifts (>>) all the bits of its operand.
    • Left: Left shifts (<<) all the bits of its operand.

Examples

Bit Shift Example