Overview The von Neumann Machine - the programmable digital computer Introducing the LC-3 Computer - A “toy” computer for us to learn from Computer machine.

Slides:



Advertisements
Similar presentations
Machine cycle.
Advertisements

Computer Architecture and the Fetch-Execute Cycle
Chapter 1. Basic Structure of Computers
Slide 4-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 4 Computer Organization.
LC-3 Computer LC-3 Instructions
CSS 372 Lecture 1 Course Overview: CSS 372 Web page Syllabus Lab Ettiquette Lab Report Format Review of CSS 371: Simple Computer Architecture Traps Interrupts.
CHAPTER 4 COMPUTER SYSTEM – Von Neumann Model
Some thoughts: If it is too good to be true, it isn’t. Success is temporary. It is hard work to make it simple. Knowing you did it right is enough reward.
Midterm Wednesday Chapter 1-3: Number /character representation and conversion Number arithmetic Combinational logic elements and design (DeMorgan’s Law)
Chapter 5 The LC-3 LC-3 Computer Architecture Memory Map
Stored Program Concept: The Hardware View
Chap 4 & 5 LC-3 Computer LC-3 Instructions Chap 4 Homework – due Monday October 27 Chap 5 Homework – due Wednesday October 29 Project 2 Designs (Working.
Chapters 5 - The LC-3 LC-3 Computer Architecture Memory Map
State Machines Used to Design Sequential Circuits.
TCSS 372A Computer Architecture. Getting Started Get acquainted (take pictures) Review Web Page (
Chapters 4 & 5: LC-3 Computer Architecture Machine Instructions Assembly language Programming in Machine and Assembly Language.
Overview von Neumann Model Components of a Computer Some Computer Organization Models The Computer Bus An Example Organization: The LC-3.
TCSS 372A Computer Architecture. Getting Started Get acquainted (take pictures) Purpose, scope, and expectations of the course Expectations & strategy.
Computer Science 210 Computer Organization The Instruction Execution Cycle.
The von Neumann Model – Chapter 4 COMP 2620 Dr. James Money COMP
Computer Science 210 Computer Organization The von Neumann Architecture.
Computer Systems Organization CS 1428 Foundations of Computer Science.
Introduction to Computing Systems from bits & gates to C & beyond Chapter 4 The Von Neumann Model Basic components Instruction processing.
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
Chapter 4 The Von Neumann Model
The von Neumann Model – Chapter 4
Introduction to Computer Engineering CS/ECE 252, Fall 2009 Prof. Mark D. Hill Computer Sciences Department University of Wisconsin – Madison.
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
General Concepts of Computer Organization Overview of Microcomputer.
The structure COMPUTER ARCHITECTURE – The elementary educational computer.
Module : Algorithmic state machines. Machine language Machine language is built up from discrete statements or instructions. On the processing architecture,
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Complete Example.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
© GCSE Computing Candidates should be able to:  describe the characteristics of an assembler Slide 1.
COMPILERS CLASS 22/7,23/7. Introduction Compiler: A Compiler is a program that can read a program in one language (Source) and translate it into an equivalent.
The von Neumann Model – Chapter 4 COMP 2620 Dr. James Money COMP
Dale & Lewis Chapter 5 Computing components
Von Neumann Model Computer Organization I 1 September 2009 © McQuain, Feng & Ribbens The Stored Program Computer 1945: John von Neumann –
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
Simple ALU How to perform this C language integer operation in the computer C=A+B; ? The arithmetic/logic unit (ALU) of a processor performs integer arithmetic.
CMSC 104, Lecture 061 Stored Programs A look at how programs are executed.
Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Chapter 4 The Von Neumann Model
Computer Design & Organization
Computer Science 210 Computer Organization
Chapter 4 The Von Neumann Model
Introduction to Computer Engineering
Chapter 4 The Von Neumann Model
Computer Science 210 Computer Organization
Design of the Control Unit for Single-Cycle Instruction Execution
The fetch-execute cycle
Chapter 4 The Von Neumann Model
Computer Science 210 Computer Organization
Computer Science 210 Computer Organization
Functional Units.
The Von Neumann Model Basic components Instruction processing
The Processor Lecture 3.1: Introduction & Logic Design Conventions
COMS 361 Computer Organization
Chapter 4 The Von Neumann Model
LC-2: The Little Computer 2
The Stored Program Computer
Basic components Instruction processing
A Top-Level View Of Computer Function And Interconnection
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Introduction to Computer Engineering
Introduction to Computer Engineering
Introduction to Computer Engineering
Introduction to Computer Engineering
Chapter 4 The Von Neumann Model
Presentation transcript:

Overview The von Neumann Machine - the programmable digital computer Introducing the LC-3 Computer - A “toy” computer for us to learn from Computer machine instructions - the basic instructions that all programs use on that computer The Instruction Cycle - the steps in the execution of a machine language instruction

From Logic to Data Path The data path of a computer is all the logic used to process information. –See the data path of the LC-3 on next slide. Combinational Logic –Decoders -- convert instructions into control signals –Multiplexers -- select inputs and outputs –ALU (Arithmetic and Logic Unit) -- operations on data Sequential Logic –State machine -- coordinate control signals and data movement –Registers and latches -- storage elements

LC-3 Data Path: Combinational Logic State Machine Storage

The LC-3 as a von Neumann machine

Data Path of the LC-3

Computer Machine Instruction Formats What is IN an instruction? Specifies the operation to be performed Where to get the operands Where to put the result What are the major instruction types? Operate (add, sub, mult,OR, AND, etc.) Control (branch, jump to subroutine, etc.)

The Machine Instruction Necessary information: Operation code Input Operand(s) Output Operand(s) Typical Operation formats: 1 operand 2 operands 3 operands

The LC-3 Instruction FORMAT – generally 2 operand Operation code Input Operand(s) Output Operand(s) Where are the operands? Memory Registers

The LC-3 Instruction ADDRESSING MODES Register (Operand is in one of the 8 registers) PC-relative (Operand is “offset” from the (PC) ) Base + Offset (Base relative) (Operand is “offset” from the contents of a register) Immediate (Operand is in the instruction) Indirect (The “Operand” actually points to the real address – rather than being the operand)

The Instruction Cycle Steps (or phases): Fetch Next Instruction from Memory (PC)  (points to) next instruction PC  ( PC) + 1 Decode Fetched Instruction Evaluate Address (es) Fetch Operand (s) Execute Operation Store Result (if specified)

LC-3 Memory Layout X000 – x2FFF Operating System programs, tables, and data Generally off limits to programmer (Prog run in Supervisor mode) X3000 – xFDFF User Program Area Area shared by users like you (Run in non-supervisor mode) xFE00 – xFFFF Device Register Addresses Pseudo memory used for input/output R0-R7 Registers