Fig. 6.7.1 shows a circuit that performs a 1-bit right shift or
a 1-bit left shift. Note the two wires that are connected to logic 0 all
the time, which are used to insert those 0s at the ends.
Fig. 6.7.1: 1-bit right and left logical shift circuit;
if SHR=0 and SHL=0 then the input is copied to the output without shifting
(note the bubble inputs to the center AND gates; remember these are abbreviations for NOT gates).
|