Question

19 Suppose a machine has fifteen (15) general-purpose 32-bit registers How many bits must be reserved in the machine code ins

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

(19)

Given,

=>Number of general-purpose register = 15

=>Size of each register = 32 bit

The answer will be an option,

(4) 4

Explanation:

=>There are 15 registers so the number of bits required to represent these 15 registers = ceil(log2(15)) bits

=>Number of bits required = ceil(3.9068) bits

=>Number of bits required = 4 bits

=>So 4 bits must be reserved in the machine code instruction in order to address any of these fifteen registers.

I have explained each and every part with the help of statements attached to it.

Add a comment
Know the answer?
Add Answer to:
19 Suppose a machine has fifteen (15) general-purpose 32-bit registers How many bits must be reserved...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT