In this lesson we are going to discuss one of the instructions that are in the Basic or Main instruction set, in a folder named shift and rotate.
We will do a little work with the instruction called Shift Right. This can be a useful instruction for creating/incrementing sequences and the like. This instruction allows you to shift a bit pattern within a word.
We are going to discuss what parameters will be needed to use this instruction, fill them in and test the instruction online. Let’s take a look at how we do some bit shifting.