The Shift Bit Register function block provides a left or right shift of binary data bits (0 or 1).
The Bit Shift Left and Bit Shift Right instructions load data into a bit array one bit at a time. The data is shifted through the array and unloaded one bit at a time. In this example, a bit is shifted to the left every second while bit 0 assumes the state to bit 15.
The Bit Shift Left and Bit Shift Right instructions load data into a bit array one bit at a time. The data is shifted through the array and unloaded one bit at a time. In this example, a bit is shifted to the left every second while bit 0 assumes the state to bit 15.