The Little Man Computer

Slides:



Advertisements
Similar presentations
The CPU The Central Presentation Unit What is the CPU?
Advertisements

Fetch-Execute cycle. Memory Read operation Read from memory.
The Fetch – Execute Cycle
Machine cycle.
Central Processing Unit
CS364 CH16 Control Unit Operation
Damian BrowneLuis PabonPedro Tovar The operation of a computer in executing a program consists of a sequence of Instruction Cycles, with one machine.
Microprocessor.  The CPU of Microcomputer is called microprocessor.  It is a CPU on a single chip (microchip).  It is called brain or heart of the.
The CPU. Parts of the CPU Control Unit Arithmetic & Logic Unit Registers.
Computer Systems. Computer System Components Computer Networks.
CHAPTER 4 COMPUTER SYSTEM – Von Neumann Model
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Dale & Lewis Chapter 5 Computing components. Let’s design a computer Generic CPU with registers −Program counter (PC) – 5 bits (size of addresses) −Instruction.
1 Sec (2.3) Program Execution. 2 In the CPU we have CU and ALU, in CU there are two special purpose registers: 1. Instruction Register 2. Program Counter.
Lecture 13 - Introduction to the Central Processing Unit (CPU)
CPU Fetch/Execute Cycle
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 Architecture and the Fetch-Execute Cycle
Computer Architecture and the Fetch-Execute Cycle
The CPU Central Processing Unit. 2 Reminder - how it fits together processor (CPU) memory I/O devices bus.
CPU Design. Introduction – The CPU must perform three main tasks: Communication with memory – Fetching Instructions – Fetching and storing data Interpretation.
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
Little Man Computer When your program gets “translated to machine code” all 0’s & 1’s The translator must know the language of the program (java) as well.
Fetch-execute cycle.
Computer Systems - Registers. Starter… Discuss in pairs the definition of the following Control Unit Arithmetic and Logic Unit Registers Internal clock.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI N305 Information Representation: Machine 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.
Fetch-Execute Cycle Fetch the next instruction Decode Execute It.
Computer Systems Organization
Dale & Lewis Chapter 5 Computing components
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Lec 4-2 Five operations of the machine cycle Fetch- fetch the next program instruction from memory. (PC+1); instruction to IR Decode- decode the instruction.
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.
Computer Operation What basic hardware components are inside a personal computer?
OCR GCSE Computer Science Teaching and Learning Resources
Von Neumann architecture
Chapter 10: Computer systems (1)
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Computer Science 210 Computer Organization
Lecture on Microcomputer
Chapter 4 The Von Neumann Model
Five Execution Steps Instruction Fetch
Computer Science 210 Computer Organization
System Architecture 1 Chapter 2.
Data Representation – Instructions
The fetch-execute cycle
The Processor and Machine Language
Computer Science 210 Computer Organization
Computer Science 210 Computer Organization
Functional Units.
COMS 161 Introduction to Computing
Computer Organization and ASSEMBLY LANGUAGE
Topic 6 LC-3.
PZ01C - Machine architecture
THE FETCH-EXECUTE CYCLE.
The Stored Program Computer
GCSE OCR 1 The CPU Computer Science J276 Unit 1
CPU Structure and Function
THE FETCH-EXECUTE CYCLE.
Information Representation: Machine Instructions
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Instruction execution and ALU
Computer Architecture
Sec (2.3) Program Execution.
Presentation transcript:

The Little Man Computer

Instruction cycle (fetch) Read address from Location Counter; Walk to address 3. Read content

Instruction cycle (execute LOAD 1/2) 1. Go to mailbox specified by instruction 2. Read content

Instruction cycle (execute LOAD 2/2) 3. Go to calculator and punch content 4. Increment LC

Input/output interface System Block Diagram CPU Highest Address Memory Lowest ALU Input/output interface Control unit Program counter

The Little Man Computer

Generic CPU With Registers Program Counter ( PC ) Instruction Register ( IR ) Memory Memory Address Register ( MAR ) Memory Data Register ( MDR ) Accumulator ( A or Acc )

Memory address register Memory Unit n bits Memory cell bit 0 1 2 3 4 2n-1 bit 1 Memory address register Address decoder bit n - 1 0 1 2 m - 1 Memory data register m bits p. 160

MAR-MDR example

A visual analogy for memory