0% found this document useful (0 votes)
39 views2 pages

MT

Logical shifts transfer a 0 into the end position during a shift, while circular shifts circulate bits without loss of information by connecting the serial output to the serial input. Arithmetic shifts preserve the sign bit when shifting a signed binary number left or right to multiply or divide it by 2.

Uploaded by

mehari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views2 pages

MT

Logical shifts transfer a 0 into the end position during a shift, while circular shifts circulate bits without loss of information by connecting the serial output to the serial input. Arithmetic shifts preserve the sign bit when shifting a signed binary number left or right to multiply or divide it by 2.

Uploaded by

mehari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Logical shift: A logical shift is one that transfers 0 through the serial input.

We will adopt the symbols shl and shr for logical shift-left and shift-right
rnicrooperations. For example:
R1 ← shl R1
R2 ← shr R2
are two rnicrooperations that specify a 1-bit shift to the left of the content of
register R 1 and a 1-bit shift to the right of the content of register R2. The
register symbol must be the same on both sides of the arrow. The bit
transferred to the end position through the serial input is assumed to be 0
during a logical shift.

The circular shift (also known as a rotate operation) circulates the bits of
the register around the two ends without loss of information. This is
accomplished by connecting the serial output of the shift register to its
serial input. We will use the symbols cil and cir for the circular shift left and
right, respectively. The symbolic notation for the shift rnicrooperations is
shown in Table 4-7.

An arithmetic shift is a micro operation that shifts a signed binary number


to the left or right. An arithmetic shift-left multiplies a signed binary number
by 2. An arithmetic shift-right divides the number by 2. Arithmetic shifts
must leave the sign bit unchanged because the sign of the number
remains the same.

You might also like