Question

A digital computer has a memory unit with 32 bits per word. The instruction set consists...

A digital computer has a memory unit with 32 bits per word. The instruction set consists of 147 different operations. All instructions have an operation code part (opcode) and two address fields: one for a memory address and one for a register address. This particular system includes eight general-purpose, user-addressable registers. Registers may be loaded directly from memory, and memory may be updated directly from the registers. Direct memory-to-memory data movement operations are not supported. Each instruction stored in one word of memory.

a) How many bits are needed for the opcode?

b) How many bits are needed to specify the register?

c) How many bits are left for the memory address part of the instruction?

d) What is the maximum allowable size for memory?

e) What is the largest unsigned binary number that can be accommodated in one word of memory?

Homework Answers

Answer #1

a) How many bits are needed for the opcode?

8 bits

Explanation:

147 opcode implies 28 = 256 bits

256 > 147

b) How many bits are needed to specify the register?

3 bits

Explanation:

Number of registers is 8

23= 8

c) How many bits are left for the memory address part of the instruction?

21 bits

Explanation:

32 - 8 - 3 = 21

d) What is the maximum allowable size for memory?

16MB

Explanation:

Maximum memory = 224 = 24 x 220 = 16MB

e) What is the largest unsigned binary number that can be accommodated in one word of memory?

232 - 1

Explanation:

Word length is 32 bits

Then, Largest unsigned binary number is 232 - 1

Kindly Upvote

Thank you :)

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
For your project CPU:                                       &nbs
For your project CPU:                                                                 52 bits Opcode 10 General register 6 Index register 5 Mode 4 Future 2 Address 25 a) Maximum number of instruction? b) How many general registers there are? c) How many types of instructions there are? d) Size of your Memory in K,M,G,T e) Largest unsigned binary number in a word of memory?
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%)
1. The memory units that follow are specified by the number of words times the number...
1. The memory units that follow are specified by the number of words times the number of bits per word. How many address lines and input/output data lines are needed in each case? (a) 8K X 16 (b) 2G X 8 (c) 16M X 32 (d) 256K X 64 2. Give the number of bytes stored in each memory unit in question 1. 3. Word number 563 decimal in the memory shown in Fig. 7.3 (see Mano-Ch7.pdf) contains the binary...
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...