Chap4 - Chapter 4 The Von Neumann Model Von Neumann Model M...

Info icon This preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 4 The Von Neumann  Model
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
4-2 Von Neumann Model M E M O R Y C O N T R O L U N I T M A R M D R I R P R O C E S S I N G U N I T A L U T E M P P C O U T P U T M o n i t o r P r i n t e r L E D D i s k I N P U T K e y b o a r d M o u s e S c a n n e r D i s k
Image of page 2
4-3 Von Neumann Model Memory: holds both data and instructions Processing Unit:  carries out the  instructions Control Unit:  sequences and interprets  instructions Input and Output:  interacts with the user
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
4-4 Memory 2 k  x  m  array of stored bits Address unique ( k -bit) identifier of location Contents m -bit value stored in location Basic Operations: LOAD read a value from a memory location STORE write a value to a memory location 0000 0001 0010 0011 0100 0101 0110 1101 1110 1111 00101101 10100010
Image of page 4
4-5 Memory Each location has an address and contents Address: bit pattern that uniquely identifies a memory location Contents: bit pattern stored at a given address. analogy: p.o. boxes have fixed numbers, but changing contents. Address Space: The total number of memory locations (“boxes”) available. e.g. a 28 bit address provides an address space of 2 28  locations. The LC-3 has an address space of 2 16  locations - i.e. it uses a 16 bit address. 0000 0001 0010 0011 0100 0101 0110 1101 1110 1111 00101101 10100010
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
4-6 Interface to Memory How does processing unit get data to/from memory? MAR : Memory Address Register MDR : Memory Data Register To  LOAD  a location (A): 1. Write the address (A) into the MAR. 2. Send a “read” signal to the memory. 3. Read the data from MDR. To  STORE  a value (X) to a location (A): 1. Write the data (X) to the MDR.
Image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern