{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Basic Structure of Computers

Basic Structure of Computers - CS 264 Part 0 How Computers...

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

View Full Document Right Arrow Icon
CS 264 Part 0
Image of page 1

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

View Full Document Right Arrow Icon
How Computers Work
Image of page 2
Arithmetic/Logic Unit Input Memory Control Unit Output CPU I/O Basic Functional Units of a Computer
Image of page 3

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

View Full Document Right Arrow Icon
Memory instructions data data data data instructions instructions instructions instructions data data
Image of page 4
Memory CPU instructions data ?
Image of page 5

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

View Full Document Right Arrow Icon
Arithmetic/Logic Unit Memory Control Unit CPU instructions data
Image of page 6
Arithmetic/Logic Unit Memory Control Unit CPU 10110101111 10110101111 (it will be “executed”) (it will be “computed”)
Image of page 7

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

View Full Document Right Arrow Icon
The “fetch-execute cycle” Fetch the instruction whose address is in the program counter Increment the PC so it holds the address of the next instruction Execute the instruction just fetched Fetch the next instruction Etc.
Image of page 8
Arithmetic/Logic Unit Memory Control Unit Instruction Register Program Counter Data Register Data Register instruction instruction fetch
Image of page 9

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

View Full Document Right Arrow Icon
Arithmetic/Logic Unit Memory Control Unit Instruction Register Program Counter Data Register Data Register data instruction execute data
Image of page 10
Arithmetic/Logic Unit Memory Control Unit Instruction Register 2482 Data Register Data Register 04 3300 4102 instruction fetch 2482 “Add A to B”
Image of page 11

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

View Full Document Right Arrow Icon
Arithmetic/Logic Unit Memory Control Unit 04 3300 4102 2486 Data Register Data Register 04 3300 4102 instruction fetched and PC incremented 2482
Image of page 12
Arithmetic/Logic Unit Memory Control Unit Add A to B 2486 Data Register Data Register 04 3300 4102 instruction decoded 2482
Image of page 13

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

View Full Document Right Arrow Icon
Arithmetic/Logic Unit Memory Control Unit Add A to B 2486 16 31 16 execute-- load operands 31 data fetch B data fetch A IR B (4102) A (3300)
Image of page 14
Arithmetic/Logic Unit Memory Control Unit Add A to B 2486 16 31 16 execute-- add operands 31 + IR B (4102) A (3300)
Image of page 15

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

View Full Document Right Arrow Icon
Arithmetic/Logic Unit Memory Control Unit Add A to B 2486 16 47 16 execute-- one register added to the other 31 IR B (4102) A (3300)
Image of page 16
Arithmetic/Logic Unit Memory Control Unit Add A to B 2486 16 47 16 execute-- store result 47 data store B + A + IR B (4102) A (3300)
Image of page 17

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

View Full Document Right Arrow Icon
Arithmetic/Logic Unit Memory Control Unit Instruction Register Data Register Data Register instruction fetch next instruction 2486
Image of page 18
Image of page 19

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

View Full Document Right Arrow Icon
Control Unit Arithmetic Logic Unit
Image of page 20
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