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