Important Concepts  Parts of the CPU  Arithmetic/Logic Unit  Control Unit  Registers  Program Counter  Instruction Register  Fetch/Decode/Execute.

Slides:



Advertisements
Similar presentations
Chapter 2: Data Manipulation
Advertisements

Machine cycle.
Instruction Set Design
Chapter 2 Data Manipulation Dr. Farzana Rahman Assistant Professor Department of Computer Science James Madison University 1 Some sldes are adapted from.
 Suppose for a moment that you were asked to perform a task and were given the following list of instructions to perform:
Computer Architecture and Data Manipulation Chapter 3.
CSE115: Introduction to Computer Science I
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Computer Science: An Overview Tenth Edition by J. Glenn Brookshear Chapter.
Computer Systems. Computer System Components Computer Networks.
CHAPTER 4 COMPUTER SYSTEM – Von Neumann Model
CSCE 121, Sec 200, 507, 508 Fall 2010 Prof. Jennifer L. Welch.
Memory - Registers Instruction Sets
Computer Processing CSCE 110 J. Michael Moore.
Stored Program Concept: The Hardware View
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Chapter 2.2 Machine Language.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
J. Michael Moore Computer Processing CSCE 110. J. Michael Moore ProcessorInputOutput Memory Storage.
Lecture 3. Diff b/w RAM and Registers Registers are used to hold data immediately applicable to the operation at hand Registers are used to hold data.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Machine Instruction Characteristics
CPU Computer Hardware Organization (How does the computer look from inside?) Register file ALU PC System bus Memory bus Main memory Bus interface I/O bridge.
Computer Systems Organization CS 1428 Foundations of Computer Science.
Data Manipulation, Communication and Architecture Fall 2012.
Data manipulation, Part one Introduction to computer, 2nd semester, 2010/2011 Mr.Nael Aburas Faculty of Information.
Chapter 4 MARIE: An Introduction to a Simple Computer.
The Central Processing Unit (CPU) and the Machine Cycle.
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
Ch. 2 Data Manipulation 4 The central processing unit. 4 The stored-program concept. 4 Program execution. 4 Other architectures. 4 Arithmetic/logic instructions.
Lecture 14 Today’s topics MARIE Architecture Registers Buses
CS 111 – Sept. 15 Chapter 2 – Manipulating data by performing instructions “What is going on in the CPU?” Commitment: –Please read through section 2.3.
Chapter 2 Data Manipulation Yonsei University 1 st Semester, 2015 Sanghyun Park.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
Computer Science 101 Computer Systems Organization ALU, Control Unit, Instruction Set.
Chapter 2 Data Manipulation. © 2005 Pearson Addison-Wesley. All rights reserved 2-2 Chapter 2: Data Manipulation 2.1 Computer Architecture 2.2 Machine.
Fetch-execute cycle.
Represents different voltage levels High: 5 Volts Low: 0 Volts At this raw level a digital computer is instructed to carry out instructions.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Data Manipulation Brookshear, J.G. (2012) Computer Science: an Overview.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
Dale & Lewis Chapter 5 Computing components
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 2: Data Manipulation
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
Processor Organization
CMSC 104, Lecture 061 Stored Programs A look at how programs are executed.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
27 October 2015 Birkbeck College, U. London1 Introduction to Computer Systems Lecturer: Steve Maybank Department of Computer Science and Information Systems.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
© 2015 Pearson Education Limited 2015 Quiz in last 15 minutes Midterm 1 is next Sunday Assignment 1 due today at 4pm Assignment 2 will be up today; due.
Computer Architecture. Instruction Set “The collection of different instructions that the processor can execute it”. Usually represented by assembly codes,
Assembly Language Assembly Language
The fetch-execute cycle
The Processor and Machine Language
CISC AND RISC SYSTEM Based on instruction set, we broadly classify Computer/microprocessor/microcontroller into CISC and RISC. CISC SYSTEM: COMPLEX INSTRUCTION.
CS149D Elements of Computer Science
CSCE Fall 2013 Prof. Jennifer L. Welch.
Chapter 2: Data Manipulation
CSCE Fall 2012 Prof. Jennifer L. Welch.
Chapter 2: Data Manipulation
Instruction execution and ALU
Chapter 2: Data Manipulation
Presentation transcript:

Important Concepts  Parts of the CPU  Arithmetic/Logic Unit  Control Unit  Registers  Program Counter  Instruction Register  Fetch/Decode/Execute Cycle  Machine Language  Stored-Program Concept  Bus  Direct Memory Access

Types of Instructions  Transfer Operations  Load  Store  Arithmetic/Logic Operations  Addition, Subtraction, Multiplication,...  AND, OR, NOT, XOR  Shift, Rotate  Control Operations  Unconditional Jump  Conditional Jump (Jump if Register > 0)  Halt

Additional Types of Instructions  Input/Output Instructions  Direct Memory Access Instructions  Graphics Operations

Reduced Instruction Set Computer  Minimal set of instructions  Complex operations are divided into simple steps  Simple steps are encoded as the instructions  Macro-instructions are small programs, called microcode  Instructions execute very quickly  Faster cycle, but requires more operations  Chips require less power consumption

Complex Instruction Set Computer  Complex instructions  Require more time to execute, but do more  More, specialized, operations  Can include memory, graphic operations  Instructions slower to execute, but do more

Stored Program Concept  Program can be treated as data  Program can be changed in memory, read/written to storage  Allows computer to be flexible  Different kinds of programs:  Machine code  Assembly Language  High-level Language  Logic Programming  Programs can be translated from one from to another

Machine Instructions  Instructions are encoded as binary strings, e.g.,  Instructions have op-codes and operands  Operands are the data (or where to find the data)  Op-code specifies the operation that is done to the data  Instructions may be fixed or variable length

Fetch/Decode/Execute Cycle  The program counter keeps track of the next instruction to be executed  The next instruction is fetched and place into the instruction register  The control unit decodes the instructions – interprets the op-code, finds the operands  The instruction is executed – the control unit causes the ALU to do the proper operation based on the op-code  A Jump instruction may change the program counter