EXERCISES

  1.      1. What are the main functions of the CPU?

  2.      2. How is the ALU related to the CPU? What are its main functions?

  3.      3. Explain what the CPU should do when an interrupt occurs. Include in your answer the method the CPU uses to detect an interrupt, how it is handled, and what happens when the interrupt has been serviced.

  4.   4. How many bits would you need to address a 2M × 32 memory if:

    1. a) The memory is byte addressable?

    2. b) The memory is word addressable?

  5.      5. How many bits are required to address a 4M × 16 main memory if:

    1. a) Main memory is byte addressable?

    2. b) Main memory is word addressable?

  6.      6. How many bits are required to address a 1M × 8 main memory if:

    1. a) Main memory is byte addressable? ...

Get Essentials of Computer Organization and Architecture, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.