Question

1a. Perform arithmetic shift (left then right) on the following number: 11011101 Left: , right 1b....

1a. Perform arithmetic shift (left then right) on the following number:

11011101

Left: , right

1b. Perform logical shift (left then right) on each of the following:

11011101

Left:, Right

Homework Answers

Answer #1

1a. Perform arithmetic shift (left then right) on the following number:

11011101 in airthmetic left shift we remove the most significant bit and add the 0 after the Least significant bit and in arithmetic right shift we remove the least significant bit and add the MSB number at MSB

After left shift 10111010 then after right shift it becomes 11011101

1b. Perform logical shift (left then right) on each of the following:

11011101 in logical left shift is same as the airthemetic left shift but in logical right shift we remove the least significant bit and add zero before the MSB

After left shift 10111010 then after right shift it becomes 01011101

Please hit the like button if you find this helpful for you THANK YOU AND HAPPY LEARNING:)

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Contractionary monetary policy causes the (LM,IS)to shift (left,right)and the (LRAS,AD,SRAS) to shift (right up,left down) Please...
Contractionary monetary policy causes the (LM,IS)to shift (left,right)and the (LRAS,AD,SRAS) to shift (right up,left down) Please pick one for each bracket
What will be the output when the computer performs arithmetic left shift operation on the bit...
What will be the output when the computer performs arithmetic left shift operation on the bit pattern 11010101 which is stored in two’s complement format? Verify that if you multiply the original number in decimal by 2 you get your final answer in decimal. Show your work?
Consider the following reaction at equilibrium: C(s)+H2O(g)⇌CO(g)+H2(g) Predict whether the reaction will shift left, shift right,...
Consider the following reaction at equilibrium: C(s)+H2O(g)⇌CO(g)+H2(g) Predict whether the reaction will shift left, shift right, or remain unchanged upon each of the following disturbances. Part A C is added to the reaction mixture. -is added to the reaction mixture. -the reaction will shift left -the reaction will shift right -the reaction will remain unchanged Part B H2O is condensed and removed from the reaction mixture. -is condensed and removed from the reaction mixture. -the reaction will shift left -the...
4)What will be the output when the computer performs arithmetic left shift operation on the bit...
4)What will be the output when the computer performs arithmetic left shift operation on the bit pattern11010101 which is stored in two’s complement format?Verify that if you multiply the original number in decimal by 2 you get your final answer in decimal. Show your work?
Consider the following linear program: Max 3A + 2B 1A+1B<=10 3A+ 1B<=24 1A+2B<=16 A) Run the...
Consider the following linear program: Max 3A + 2B 1A+1B<=10 3A+ 1B<=24 1A+2B<=16 A) Run the syntax for the LINDO results. B) Assume that the objective function coefficient for A changes from 3 to 3.8 and the objective function coefficient for B changes from 2 to 1.2.   Does the optimal solution change? Show the calculation based on 100% rule on objective function. C) Assume that the right hand side of Constraint 2 changes from 24 to 28 and Constraint 3...
Consider the following linear program: Max 3A + 2B s.t 1A + 1B 10 3A +...
Consider the following linear program: Max 3A + 2B s.t 1A + 1B 10 3A + 1B < 24 1A + 2 B < 16 A, B > 0
1a. Why did American textile manufacturing originally shift overseas? 1b. Draw a hypothetical graph in which...
1a. Why did American textile manufacturing originally shift overseas? 1b. Draw a hypothetical graph in which a firm (possibly overseas) is minimizing its costs subject to their profit-maximizing production level. How does the advent of this new sewing machine affect this picture? Show this graphically and provide an explanation. 1c. Why might textile factories return to the U.S. if the sewing robot technology works out?
Could someone show me how to write VHDL code for the following logical Shifts. Please use...
Could someone show me how to write VHDL code for the following logical Shifts. Please use concatenation. signal x:std_logic_vector(7 downto 0):"01000101"; 1) Logical right shift of 2. 2) Logical right shift of 5. 3) Logical left shift of 2. 3) Logical left shift of 3.
Run the below code and shift binary left and right and understand the output. #include <stdio.h>...
Run the below code and shift binary left and right and understand the output. #include <stdio.h> int main() {     int num=212, i;     for (i=0; i<=2; i++)         printf("Right shift by %d: %d\n", i, num>>i);      printf("\n");      for (i=0; i<=2; i++)         printf("Left shift by %d: %d\n", i, num<<i);             return 0; } Output:
Write a VHDL code for a 4-bit shift register that shifts from right to left.
Write a VHDL code for a 4-bit shift register that shifts from right to left.