Question

In: Computer Science

When is an external interrupt recognized by the CPU?  When more than one interrupt occurs, what approaches...

  1. When is an external interrupt recognized by the CPU?  When more than one interrupt occurs, what approaches would you use to service them? What approaches should be taken when an interrupt occurs within an interrupt service routine
  1. Consider a hypothetical microprocessor having 64-bit instructions composed of two fields: the first 16-bits contains the op-code and the remainder the immediate operand or an operand address.  Assume memory is organized in 32-bit words, i.e. one r/w access can yield a maximum of 32 bits.  
    1. What is the maximum directly addressable memory capacity (in bytes)?
    2. How many bits are needed for the program counter and the instruction register?
    3. Discuss the impact on the system speed if the microprocessor has:

            (i) a 64-bit local address bus and a 16-bit local data bus, or

             (ii) a 32-bit local address bus and a 64-bit local data bus.

  1. Consider a hypothetical microprocessor generating a 32-bit address (assume that the program counter and the address registers are 32-bit wide) and having a 32-bit data bus. Assume memory is byte addressable.
    1. What is the maximum memory address space that the processor can access directly if connected to a “32-bit memory”?
    2. What is the maximum memory address space that the processor can access directly if connected to an “16-bit memory”?
    3. What architectural features will allow this microprocessor to access a separate “I/O space”?
    4. If an input and an output instruction can specify a 16-bit I/O port number, how many 16-bit I/O ports can the microprocessor support? How many 32-bit I/O ports?

5-) Consider a microprocessor, with a 64-bit external data bus, driven by a 1 GHzinput clock. Assume this microprocessor has a bus cycle whose minimum duration equals five (5) input clock cycles. What is the maximum data transfer rate that this microprocessor can sustain? To increase its performance, would it be better to make its external data bus 128-bitsor to double the external clock frequency supplied to the microprocessor? Discuss and state any other assumptions you make, and explain.  Hint: Determine the number of bytes that can be transferred per bus cycle.

Solutions

Expert Solution



Related Solutions

A) What happens when a software Interrupt occurs? Write steps briefly?                              &nbsp
A) What happens when a software Interrupt occurs? Write steps briefly?                                                    B)  Differentiate between maskable and non-maskable interrupts? C) How are the multiplexed bus of 8086 demultiplexed? D) Find the address range when a 2K x 8 memory is interfaced with 8086/8088?
How does an interrupt differ from a subroutine? When an interrupt occurs, where does program control...
How does an interrupt differ from a subroutine? When an interrupt occurs, where does program control branch to?
A) What happens when a software Interrupt occurs? Write steps briefly?    B) Differentiate between maskable...
A) What happens when a software Interrupt occurs? Write steps briefly?    B) Differentiate between maskable and non-maskable interrupts? C) How are the multiplexed bus of 8086 demultiplexed? D) Find the address range when a 2K x 8 memory is interfaced with 8086/8088?
12. Name the process that occurs in the liver when the body needs more glucose than...
12. Name the process that occurs in the liver when the body needs more glucose than the diet provides? 13. Name 4 purposes for Fats in your body. 14.. The breakdown of proteins produces ammonia which is toxic to our cells. How does the liver manage ammonia? 15. How much energy is in a gram of fat compared to a gram of carbohydrates?
When compounding occurs more than once per year, will the annual effective interest rate be higher...
When compounding occurs more than once per year, will the annual effective interest rate be higher or lower than the nominal rate? Use an example to demonstrate your explanation.
Provide an example of when external Benchmarking provides more meaningful data than internal Benchmarking data? Provide...
Provide an example of when external Benchmarking provides more meaningful data than internal Benchmarking data? Provide an example of when internal Benchmarking provides more meaningful data than external data?
Conflict occurs when two or more individuals perceive a situation differently and at least one person’s...
Conflict occurs when two or more individuals perceive a situation differently and at least one person’s perception is that he or she has been negatively affected. In fact, conflict can occur at any time, in any situation, and often at the worst possible time. When a group or team is working toward a goal and conflict erupts, the process can come to a halt until the conflict is resolved. For the following questions, take into consideration a conflict that you...
Conflict occurs when two or more individuals perceive a situation differently and at least one person’s...
Conflict occurs when two or more individuals perceive a situation differently and at least one person’s perception is that he or she has been negatively affected. In fact, conflict can occur at any time, in any situation, and often at the worst possible time. When a group or team is working toward a goal and conflict erupts, the process can come to a halt until the conflict is resolved. For the following questions, take into consideration a conflict that you...
2. What happens in a market when one side has more information than the other? How...
2. What happens in a market when one side has more information than the other? How might this affect financial markets? Which side of a financial market is more likely to have better information than the other. How might this have affected the financial markets in the 2007-08 crash? What can be done to solve this problem? Could any of these solutions avoided the 2007-08 crash?
When revenues, costs and gross profit are recognized at the completion of the contract rather than...
When revenues, costs and gross profit are recognized at the completion of the contract rather than periodically throughout the contract: a) Costs are higher and gross profit is lower b) Either method results in the same revenues, costs and gross profits being recognized by the end of the project. c) Revenues are higher and gross profit is lower d) Revenues and gross profit are higher What is the relationship between Construction-in-progress (CIP) and the Billings on Construction Contract account? a)...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT