Course overview - CSUDH

Course overview - CSUDH

Program execution Skills: none Concepts: computer components, stored program computer, machine language, register, fetch-execute cycle, von Neumann architecture, CPU history This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License. Where does this topic fit? Internet concepts Applications Technology Implications

Internet skills Application development Content creation User skills Computer components CPU Input devices Memory Storage devices

(programs and data) Output Devices CPU and Memory What is in memory? Operating system (master control program) Application program

Application data A three instruction program CPU Memory Program 1. Copy the number at location X to the CPU register. 2. Add the number in location Y to the number in the register. 3. Copy the number in the register to memory location Z. Before execution begins CPU

Current instruction register Memory Program 1. Copy the number at location X to the CPU register. 2. Add the number in location Y to the number in the register. 3. Copy the number in the register to memory location Z. Data X: 25

Y: 10 Z: Load the first instruction CPU Current Copy the number at location X to the CPU register. instruction register

Memory Program 1. Copy the number at location X to the CPU register. 2. Add the number in location Y to the number in the register. 3. Copy the number in the register to memory location Z. Data X: 25 Y: 10

Z: After the first instruction executes CPU Current Copy the number at location X to the CPU register. instruction register 25 Memory Program

1. Copy the number at location X to the CPU register. 2. Add the number in location Y to the number in the register. 3. Copy the number in the register to memory location Z. Data X: 25 Y: 10 Z:

After the second instruction executes CPU Current Add the number in location Y to the number in the register. instruction register 35 Memory Program 1. Copy the number at location X to the CPU register. 2. Add the number in location Y to the number in the register.

3. Copy the number in the register to memory location Z. Data X: 25 Y: 10 Z: After the third instruction executes

CPU Current Copy the number in the register to memory location Z. instruction register 35 Memory Program 1. Copy the number at location X to the CPU register. 2. Add the number in location Y to the number in the register. 3. Copy the number in the register to memory location Z.

Data X: 25 Y: 10 Z: 35` The fetch execute cycle

Start Fetch the next instruction into the CPU. Execute the instruction now in the CPU. Von Neumann architecture Simplification

Speed Summary CPU Current instruction register Memory Program 1. Copy the number at location X to the CPU register. 2. Add the number in location Y to the number in the register. 3. Copy the number in the register to memory location Z.

Data X: 25 Y: 10 Z: Self study questions What would happen if the programmer of our three instruction

example accidently used a subtract instruction instead of an add instruction in step 2? What would happen if the programmer of our three instruction example accidently switched the order of steps 1 and 2? What would happen if the programmer of our three instruction example accidently switched the order of steps 2 and 3? Resources Arthur W. Burks, Herman H. Goldstine and John von Neumann, Preliminary discussion of the logical design of an electronic computing instrument, The Institute for Advanced Study, Princeton University, 28 June 1946. http://www.fdi.ucm.es/profesor/mozos/EC/burks.pdf The paper outlines the architecture of a von Neumann machine, going into considerable detail on the design of the CPU.

Also see the Wikipedia artcles on von Neumann and Eckert and Mauchley. http://spectrum.ieee.org/podcast/computing/software/from-ballistics-to-pr ogramming A terrific podcast on the role of the women who were computing artillery shell trajectories during World War II and became the first ENIAC programmers.

Recently Viewed Presentations

  • Introduction to the N.C. Department of Labor OSH Division

    Introduction to the N.C. Department of Labor OSH Division

    from a broken hot wire or connection . and reaches a point of zero voltage . by some path other than the normal . one, across worn insulation. Note: Such a path offers high resistance . so that the current...
  • Discussion today  Using Lumerical INTERCONNECT we will simulate

    Discussion today Using Lumerical INTERCONNECT we will simulate

    Click Run and plot the power at the Optical Spectrum Analyzer after each ring resonator modulator (select object, in Result View right click and Visualize mode 1->signal) Also plot the result of the eye diagrams monitors. EE232 Discussion 04/13/17
  • Presentation Name

    Presentation Name

    CSU Pomona [email protected] Demanda cognitiva de una tarea es "… el tipo y nivel de pensamiento requeridos de los estudiantes para poder participar en la tarea y resolverla con éxito."
  • Wordpieces 3.1 - Thomas County School District

    Wordpieces 3.1 - Thomas County School District

    regress. Verb . To go back to a less mature or less positive state. Synonym: slip back; degenerate. Antonym: improve
  • Announcements Tomorrow: 10.1, 10.3 Wednesday: 10.4, 10.5, 10.7

    Announcements Tomorrow: 10.1, 10.3 Wednesday: 10.4, 10.5, 10.7

    Let's work in the basis where only the up-quark mass matrix is diagonal Look at all the possible decays: Top is too heavy Quarks come in three colors The e, , , u, d, s, and c quarks are pretty...
  • CH14_Assuring Individual Rights

    CH14_Assuring Individual Rights

    Section 1: Protecting Individual Liberties. Objectives: What does the term . due process. mean? How is procedural due process different from substantive due process? How do the Fourth Amendment and due process protect people's security against unreasonable state action? How...
  • Heizer/Render 11e - cbafaculty.org

    Heizer/Render 11e - cbafaculty.org

    Heizer and Render Operations Management, Eleventh Edition ... COUNTRY COMPONENT Cobham UK Fuel pumps and valves Rolls-Royce UK Engines Smiths Aerospace UK Central computer systems BAE Systems UK Electronics Alenia Aeronautica Italy Upper center fuselage and horizontal stabilizers Toray ...
  • Variations in Global Precipitation: Climate-scale to Floods ...

    Variations in Global Precipitation: Climate-scale to Floods ...

    Brisbane. 00 GMT 11 Jan. Global Flood and Landslide Monitoring and Forecasting using Satellite Data . Three Related Projects in Estimating Floods and Landslides from Space. Monitoring global floods using satellite rainfall and a hydrological model. ... Use of NWP...