Question

5. Suppose we have a 32-bit computer with an instruction set that supports immediate instructions as...

5. Suppose we have a 32-bit computer with an instruction set that supports immediate instructions as shown below:

Opcode Source Register Destination Register immediate

6 bits 5 bits 5 bits 16 bits

(a) How many registers at most does this computer have? (5%)

(b) How many operations at most can this computer have? (5%)

(c) What is the range of the number in the “immediate” field in 2'scomplement format? (5%)

Homework Answers

Answer #1

SOL:

Given computer = 32 bits

Opcode = 6bits

Source Register = 5 bits

Destination Register = 5 bits

Immediate field = 16bits

a) The no of register the computer have = 2no of register bits

here Source Register = 5 bits, Destination Register = 5bits

5 bits are allocated for registers

No of register bits = 5

The no of registers the computer have = 25 = 32

so No of registers = 32

b) The no of operations the computer have = 2no of bits in opcode

= 26

= 64

so No of operations the computer have = 64

c) Given immediate field = 16 bits

The range of 2's complement format of n bits = -2n-1 to +(2n-1 -1)

The range of number in immediate field in 2's complement format is = -216-1 to +(2n-1 -1)

= -215 to +(216-1 -1)

= -215 to +(215 -1)

= -32,768 to 32,767

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
Suppose some 32-bit microprocessor and some 16-bit microprocessor have the same bus cycle. If a program...
Suppose some 32-bit microprocessor and some 16-bit microprocessor have the same bus cycle. If a program consists of 100 operands and instructions, of which 50% are 32 bits and 50% are 16 bits long, it is better to use a 32-bit microprocessor when running this program on two microprocessors. -How fast is it compared to using a bit microprocessor?
1. Suppose we have a 32KB direct-mapped data cache with 32-byte blocks. a) Show how a...
1. Suppose we have a 32KB direct-mapped data cache with 32-byte blocks. a) Show how a 32-bit memory address is divided into tag, index and offset. Show clearly how many bits are in each field. b) How many total bits are there in this cache? 2. Suppose we have a 8KB direct-mapped data cache with 64-byte blocks. a) Show how a 32-bit memory address is divided into tag, index and offset. Show clearly how many bits are in each field....
Item 5 In the case below, the original source material is given along with a sample...
Item 5 In the case below, the original source material is given along with a sample of student work. Determine the type of plagiarism by clicking the appropriate radio button. Original Source Material Student Version Suppose you study a group of successful companies and you find that they emphasize customer focus, or quality improvement, or empowerment; how do you know that you haven't merely discovered the management practice equivalent of having buildings? How do you know that you've discovered something...
As you saw from the lab PowerPoint slides last week, you will be doing a research...
As you saw from the lab PowerPoint slides last week, you will be doing a research study looking at ‘Aggression Priming” for your first paper. For this week’s discussion, I want you to discuss with your group what you think this study is about. What is the hypothesis? What theory does it come from? What do you predict will happen (do you expect something different than the hypothesis in the researcher instructions? If so, what and why?)? Do you think...
Read the LDC Cloud Systems Case Study and answer the question below: THE EMAIL The email...
Read the LDC Cloud Systems Case Study and answer the question below: THE EMAIL The email had been sent from one mid-level accounting manager at headquarters to another about six months earlier. The message read: Bill, here are the accounting issues I mentioned, and as you know, some of these go back a ways. The data that supports these accounts are not always clear and keep changing, and we are not sure what the correct accounting treatment is for these...
What tools could AA leaders have used to increase their awareness of internal and external issues?...
What tools could AA leaders have used to increase their awareness of internal and external issues? ???ALASKA AIRLINES: NAVIGATING CHANGE In the autumn of 2007, Alaska Airlines executives adjourned at the end of a long and stressful day in the midst of a multi-day strategic planning session. Most headed outside to relax, unwind and enjoy a bonfire on the shore of Semiahmoo Spit, outside the meeting venue in Blaine, a seaport town in northwest Washington state. Meanwhile, several members of...
Please read the article and answear about questions. Determining the Value of the Business After you...
Please read the article and answear about questions. Determining the Value of the Business After you have completed a thorough and exacting investigation, you need to analyze all the infor- mation you have gathered. This is the time to consult with your business, financial, and legal advis- ers to arrive at an estimate of the value of the business. Outside advisers are impartial and are more likely to see the bad things about the business than are you. You should...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...
Mattel Responds to Ethical Challenges Business Ethics This case was written by Debbie Thorne, John Fraedrich,...
Mattel Responds to Ethical Challenges Business Ethics This case was written by Debbie Thorne, John Fraedrich, O. C. Ferrell, and Jennifer Jackson, with the editorial assistance of Jennifer Sawayda. This case was developed for classroom discussion rather than to illustrate either effective or ineffective handling of an administrative, ethical, or legal discussion by management. All sources used for this case were obtained through publicly available material. Mattel, Inc. is a world leader in the design, manufacture, and marketing of family...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT