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?
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?
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...
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...
QUESTION 1 During a single clock tick, how many 64-bit values can be written to an...
QUESTION 1 During a single clock tick, how many 64-bit values can be written to an input of a register file with 8 64-bit registers (i.e. an 8x64 register file)? QUESTION 2 Suppose you are designing a processor that contains a register file with 32 32-bit registers (i.e. a 32x32 register file). What is the minimum number of bits required in order to select which register is being written to? QUESTION 3 If the decimal value, 30, is shifted to...
For this assignment, you will be creating a simple “Magic Number” program. When your program starts,...
For this assignment, you will be creating a simple “Magic Number” program. When your program starts, it will present a welcome screen. You will ask the user for their first name and what class they are using the program for (remember that this is a string that has spaces in it), then you will print the following message: NAME, welcome to your Magic Number program. I hope it helps you with your CSCI 1410 class! Note that "NAME" and "CSCI...
A new retail store is analyzing their monthly revenues per shopper to quantify the effect of...
A new retail store is analyzing their monthly revenues per shopper to quantify the effect of the age of the shopper and the number of (monthly) shoppers on their monthly revenue. The owner feels that the revenue received per shopper increases with the age of the shopper and with the number of shoppers but wants a more quantitative explanation. The multiple regression output is shown below.answer with the help of excel Summary output Multiple R 0.8391 R-Square 0.7841 Adj R-Square...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT