Q. Illustrate Shift Micro-operations?
Shift is a valuable operation that can be used for serial transfer of data. These operations can also be used along with other (arithmetic, logic.) operations. For illustration: for implementing a multiply operation arithmetic micro-operation (addition) can be used along with shift operation. Shift operation can result in shifting contents of a register to right or left. In a shift left operation a bit of data is input at right most flip-flop whereasin shift right a bit of data is input at left most flip-flop. In both cases a bit of data enters shift register. Depending on what bit enters register and where shift out bit goes the shifts are categorized in 3 types. These are:
- Logical
- Arithmetic
- Circular