Question

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?

Homework Answers

Answer #1

Given input is 11010101 which is in 2's complement so take 2's complement of this input to get original input so scan input from right to left upto first 1 then change 0 to 1 and 1 to 0 so we get 00101011 which decimal equivalent 43.


Given input is 11010101 here as per instructions given we have to perform arithmetic shift left for that shift all bit 1 position left so we have empty space at LSB position put 0 at LSB so result is 10101010 which is in 2's complement so take 2's complement of this input to get original input so scan input from right to left upto first 1 then change 0 to 1 and 1 to 0 so we get 01010110 which decimal equivalent 86 which is multiply original number by 2 in decimal.


Thus when we perform arithmetic shift left then it's result in decimal is multiply the original number in decimal by 2.


If any point you have any doubt feel free ask me.

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
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?
Convert the hexadecimal number DEADBEEF to binary. Convert the following decimal number to binary: a) 356...
Convert the hexadecimal number DEADBEEF to binary. Convert the following decimal number to binary: a) 356              b) 658 What decimal value does the 8-bit binary number 10011110 represent if it is on a computer using two’s complement representation? What decimal value does the 8-bit binary number 10110100 have if it is on a computer using two’s complement representation? please show your work for question number 4. thank you.
6)Two integers A and B are stored in two’s complement format. Show how B is subtracted...
6)Two integers A and B are stored in two’s complement format. Show how B is subtracted from A. (-23) - (+13) =(-36). Hint: Let A = (-23) and B = (+13) and show how to do (A – B) in two’s complement format. Use 8-bits torepresent each number in binary.Verify that your final answer in binary is equal to -36 in decimal. Show your work?
Consider the number below, which is stored inside a computer which uses 16-bit 2’s complement base...
Consider the number below, which is stored inside a computer which uses 16-bit 2’s complement base 2 representation. 1101011001110101 (a) Is this number negative? Why, or why not? (b) Show the resulting value (“bit pattern”) after apply the 2’s complement negation operation to the given value. Is the resulting 2’s complement value (“bit pattern”) a negative number? Explain your answer.
Design a 4-bit adder-subtractor circuit using the 4-bit binary Full adders (74LS83) and any necessary additional...
Design a 4-bit adder-subtractor circuit using the 4-bit binary Full adders (74LS83) and any necessary additional logic gates. The circuit has a mode input bit, M, that controls its operation. Specifically, when M=0, the circuit becomes a 4-bit adder, and when M=1, the circuit becomes a 4-bit subtractor that performs the operation A plus the 2’s complement of B.Where A and B are two 4-bits binary numbers. That is, * When M=0, we perform A+B, and we assume that both...
Adder Start out by picking 2 positive six bit binary numbers that are less than 3210,...
Adder Start out by picking 2 positive six bit binary numbers that are less than 3210, written in 2's complement notation. The eventual goal is to add these two numbers. 1) Look at the LSB bit of the numbers, and using logic gates (NANDs, NORs, etc.) design a circuit that correctly gives the right output for any possible combination of bits in the LSB place. 2) Now look at the next column to the left (next to LSB). In this...
Suppose a computer uses 4-bit one’s complement representation. Ignoring overflows, what value will be stored in...
Suppose a computer uses 4-bit one’s complement representation. Ignoring overflows, what value will be stored in the variable j after the following pseudo code routine terminates? (show details of all steps of the execution) 0 → j // store o in j -3 → k // store -3 in k while k ≠ 0 j = j + 1 k = k – 1 end while
2 Convert each of the following octal numbers to 10-bit binary, hexadecimal, and decimal. Show your...
2 Convert each of the following octal numbers to 10-bit binary, hexadecimal, and decimal. Show your work. (a) 368 (b) 7568 3 Convert the following binary values into Decimal, Octal and hexadecimal. Show your work. (a) 111010101011112 (b) 1010111011001102 (c) 1011101010001112 (d) 1111101011102 4 Convert the following hexadecimal numbers to 16-bit binary and decimal numbers. Show your work. (a) FE9816 (b) FCAD16 (c) B00C16 (d) FEDF16 5 Perform the addition on the following unsigned binary numbers. Indicate whether or not...
4.   Predict whether the reaction shifts right or left when 12 M HCl is added. Explain...
4.   Predict whether the reaction shifts right or left when 12 M HCl is added. Explain your prediction. [Note: Use the balanced equation, Co(H2O)62+ + 4Cl- CoCl42- + 6 H2O, to explain the shift. Specifically, which component of the equation is added? And identify the result according to Le Chatelier's Principle.] 5.   Identify the mL of HCl needed to shift the equilibrium. 6.   Calculate the value of the equilibrium expression at the new concentrations. (Show your work.) PART C 7.  ...
4-bit register using jk flip flops. 1)What is the purpose of anding the clock signal and...
4-bit register using jk flip flops. 1)What is the purpose of anding the clock signal and the load input together in your circuit? 2) How would I be able to store 1011 into the 4-bit register? Explain the process. For example, what do your inputs should be? Should your clock be on or off? How about your load input? How does your load input work when you want to store bits into your register? 3) If your load input is...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT