What should we teach regarding…

Slides:



Advertisements
Similar presentations
P3- Represent how data flows around a computer system
Advertisements

2.3) Example of program execution 1. instruction  B25 8 Op-code B means to change the value of the program counter if the contents of the indicated register.
CARDIAC A cardboard illustrative aid to computation illustrates the operation of a computer demos basic units of a simple computer –input –memory –accumulator.
19-1 Programming… The Pencil and Paper Computer The Pencil & Paper Instruction Set: (table on p148) The Operand specifies a memory location.
Designing a Virtual Machine. Basic Approach Object-oriented design Try to model the hardware. Seek a level of detail that is appropriate for interpretation.
Computer Organization and Architecture Tutorial 2 Kenneth Lee.
Dale & Lewis Chapter 5 Computing components. Let’s design a computer Generic CPU with registers −Program counter (PC) – 5 bits (size of addresses) −Instruction.
Assembly & Machine Languages
CPU Fetch/Execute Cycle
Machine level architecture Computer Architecture Basic units of a Simple Computer.
GCSE Computing#BristolMet Session Objectives#11 MUST identify what program instructions consist of SHOULD describe how instructions are coded as bit patterns.
Computer Architecture and the Fetch-Execute Cycle
Computer Architecture and the Fetch-Execute Cycle
Lecture #30 Page 1 ECE 4110– Sequential Logic Design Lecture #30 Agenda 1.von Neumann Stored Program Computer Architecture Announcements 1.N/A.
Week 2.  Understand what the processor is and what it does.  Execute basic LMC programs.  Understand how CPU characteristics affect performance.
How computers work The CPU & Memory. The parts of a computer.
Chapter 8: The Very Simple Computer
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
The structure COMPUTER ARCHITECTURE – The elementary educational computer.
Computer Organization CSC 405 (VSC) Very Simple Computer.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Computer Science 101 Computer Systems Organization ALU, Control Unit, Instruction Set.
Fetch-execute cycle.
Math – What is a Function? 1. 2 input output function.
Computer Systems - Registers. Starter… Discuss in pairs the definition of the following Control Unit Arithmetic and Logic Unit Registers Internal clock.
Represents different voltage levels High: 5 Volts Low: 0 Volts At this raw level a digital computer is instructed to carry out instructions.
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.
Computer Systems Organization
Memory Addressing Techniques. Immediate Addressing involves storing data in pairs with immediate values register pairs:
Assessment Covering… Von Neuman architecture Registers – purpose and use, the fetch execute cycle.
Dale & Lewis Chapter 5 Computing components
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
Central Processing Unit Decode Cycle. Central Processing Unit Current Instruction Register (CIR) I1 The fetch cycle has transferred an instruction from.
Program to multiply 2 numbers 500-Input x 291-Store acc. as x 500-Input y 292-Store acc. as y 193-Load y in to acc. (0 on 1 st parse) 391-Add x to acc.
Little Man Computer Task 1 Last lesson you were asked to write a program to multiply two numbers together. The next slide has a working program to do this.
Instruction Memory value Description ADD1xx Add the value stored at memory address xx to the value in the accumulator register SUB2xx Subtract the value.
3.1.4 Hardware a. describe the function and purpose of the control unit, memory unit and ALU (arithmetic logic unit) as individual parts of a computer;
Computer Operation What basic hardware components are inside a personal computer?
OCR GCSE Computer Science Teaching and Learning Resources
Computing Science Computer Structure: Lesson 1: Processor Structure
Parts of a Computer.
Von Neumann architecture
SAP1 (Simple-As-Possible) Computer
Chapter 10: Computer systems (1)
Immediate Addressing Mode
More Devices: Control (Making Choices)
Computer Design & Organization
ECE 3430 – Intro to Microcomputer Systems
Ghifar Parahyangan Catholic University Sept 12, 2011
Computer Architecture
System Architecture 1 Chapter 2.
Do it now You will find your do it now task in your workbook – look for the start button! Thursday, 20 September 2018.
Data Representation – Instructions
THE sic mACHINE CSCI/CMPE 3334 David Egle.
The Little Man Computer
Systems Architecture I (CS ) Lecture 1: Random Access Machines
Memory Physical and Virtual
Making Programming Friendlier
The Little Man Computer
CPU has 6 special locations called registers
1-2 – Central Processing Unit
Chapter 4: Computer Architecture
Computing Introduction.
Computer Organization and Assembly Languages Yung-Yu Chuang 2005/09/29
WJEC GCSE Computer Science
Information Representation: Machine Instructions
 Is a machine that is able to take information (input), do some work on (process), and to make new information (output) COMPUTER.
Computer Architecture
Systems Architecture I (CS ) Lecture 1: Random Access Machines
Little Man Computer.
Presentation transcript:

What should we teach regarding… “Understand how instructions are stored and executed within a computer system; “? +++++++++++++++++++++++++++++++++++++++++++ Does the activity support the ‘tick list’? How can we improve it? Can we walk away from today with the ‘blueprint’ for a successful lesson or two?

How Computers Work – Lesson 3 How many places are there in the memory? Find a definition for accumulate Find out what an accumulator does in a computer What is a bus in a computer? What does opcode 6 do? What does opcode 3 do? Instruction 615 means do opcode 6 and the address is 15 – no choice, just go straight to memory 15 now. What does instruction 107 mean? What is the opcode for stopping a program? What is the opcode for loading data from memory into the accumulator

INPUT – write the input directly to the accumulator OUTPUT – draw a monitor and write in it ACCUMULATOR – write in the acc to do your maths. Run through Program 1 What does this simple program do?