Topic 6: Further System Fundamentals. Fetch-Execute Cycle Review Computer programs are instructions stored in RAM Processor fetches instructions and executes.

Slides:



Advertisements
Similar presentations
Cristian Hill. 6.1 Mocking Mr. Rohol is fun Introduction The CPU performs most of the calculations on the PC The CPU is a single chip on the motherboard.
Advertisements

The CPU The Central Presentation Unit What is the CPU?
COMP375 Computer Architecture and Organization Senior Review.
Section 6.2. Record data by magnetizing the binary code on the surface of a disk. Data area is reusable Allows for both sequential and direct access file.
Input and Output CS 215 Lecture #20.
Computer System Overview
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Chapter 5 Computing Components Nell Dale John Lewis.
Stored Program Concept: The Hardware View
Chapter 5 Computing Components. 2 Chapter Goals Read an ad for a computer and understand the jargon List the components and their function in a von Neumann.
1 Today I/O Systems Storage. 2 I/O Devices Many different kinds of I/O devices Software that controls them: device drivers.
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.
CH12 CPU Structure and Function
Introduction to Networking. Key Terms packet  envelope of data sent between computers server  provides services to the network client  requests actions.
Intro to CS Chapt 2 Data Manipualtion 1 Data Manipulation How is data manipulated inside a computer? –How is data input? –How is it stored? –How is it.
Chapter 10: Input / Output Devices Dr Mohamed Menacer Taibah University
Introduction to Networking. Key Terms packet  envelope of data sent between computers server  provides services to the network client  requests actions.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
 Design model for a computer  Named after John von Neuman  Instructions that tell the computer what to do are stored in memory  Stored program Memory.
1 Operating System Overview. 2 Today’s Objectives Explain the main purpose of operating systems and describe milestones of OS evolution Explain fundamental.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Stack Stack Pointer A stack is a means of storing data that works on a ‘Last in first out’ (LIFO) basis. It reverses the order that data arrives and is.
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
Chapter 5 Computing Components Nell Dale John Lewis.
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
© 2005 Pearson Addison-Wesley. All rights reserved Figure 2.1 This chapter focuses on key hardware layer components.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Fetch-execute cycle.
Computer Organization. This module surveys the physical resources of a computer system.  Basic components  CPU  Memory  Bus  I/O devices  CPU structure.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
The computer system’s I/O architecture is its interface to the outside world. This architecture provides a systematic means of controlling interaction.
Electronic Analog Computer Dr. Amin Danial Asham by.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Chapter 5 Computing Components. 2 Computer Components Consider the following ad:
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
Device Management Mark Stanovich Operating Systems COP 4610.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Chapter 5: Computer Systems Organization Invitation to Computer Science,
CPUz 4 n00bz.
Interrupts and Exception Handling. Execution We are quite aware of the Fetch, Execute process of the control unit of the CPU –Fetch and instruction as.
10/15: Lecture Topics Input/Output –Types of I/O Devices –How devices communicate with the rest of the system communicating with the processor communicating.
CIT 140: Introduction to ITSlide #1 CSC 140: Introduction to IT Operating Systems.
Chapter 3 Getting Started. Copyright © 2005 Pearson Addison-Wesley. All rights reserved. Objectives To give an overview of the structure of a contemporary.
CPU Lesson 2.
Systems Architecture Keywords Fetch Execute Cycle
Hard Drives.
Introduction of microprocessor
Chapter 4 The Von Neumann Model
Introduction to Computer Engineering
Computer Architecture
Chapter 4 The Von Neumann Model
Computer Architecture
Chapter 4 The Von Neumann Model
Chapter 5: Computer Systems Organization
Computer Architecture
The Von Neumann Architecture Odds and Ends
Introduction to Computer Systems
The Stored Program Computer
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
Chapter 4 The Von Neumann Model
Presentation transcript:

Topic 6: Further System Fundamentals

Fetch-Execute Cycle Review Computer programs are instructions stored in RAM Processor fetches instructions and executes them Fetch Decode Execute Memory (store results) Repeat!

CPU Diagram

Additional CPU Components Program counter (PC)  Holds the address of the next instruction in the program sequence Instruction register  Holds the operation code of the type of instruction to be executed (e.g. ADD, SUB) Accumulator  ALU’s internal register that holds ongoing total

Fetch-Execute Again 1. Fetch instruction from the address stored in the program counter 2. Store instruction in instruction register 3. Decode instruction register 4. Execute operation (control unit tells ALU what to do) 5. ALU performs operation and uses its accumulator to remember result 6. Store accumulator result back to memory

Interrupts Things that “interrupt” the processor’s normal operation Handle events and exceptions  Keyboard input  Null pointer exception  etc. Special code exists to handle instructions, which is also stored in RAM

Interrupt Register Stores the offset address of the special interrupt handling code  Interrupt Code Address = Base Address + Interrupt Register

Bus Review Bus = set of parallel wires  Brings data from one place to another place CPU  cache  RAM address bus  data bus 

Hard Drives read/write head  The part of the arm that touches the disk to read/write block size  Number of bytes that are read/written in a single read of write operation track  Ring around a disk platter cylinder  The set of corresponding tracks from all platters sector  Section of a track

Disk Latency What are the two moving parts of a disk?  Platter spinning around ~ rotational delay (sector wait time)  Arm w/ head moving across platter (track seek time) How long does it take to access something on the disk? Access time = track seek time + sector wait time

Operating System Controls operation of the computer system OS functions:  Input/Output control  File management  Resource management (CPU, memory)  Security  User interface

Linker, Loader, Library Manager Linker  Links compiled object code modules  E.g. import java.io.* is linked to your program Loader  Loads linked object code into memory to run Library Manager  Manages library functions used by linker

More Network Stuff Modes of communication  Telephone lines ~ dialup  Coaxial cable ~ cable internet  Twisted pair ~ ethernet  Fiber-optic ~ FIOS  Microwave (high frequency radio) ~ wifi  Satellite

Packet Switching Break data up into packets & transmit Individual packets are not all necessarily transmitted through the same links Each packet travels over the best available link at the time Packets may arrive at destination out of order  must be re-ordered and reassembled (protocol!)

Network Security User logins  Must be an authenticated user to login  Password, smartcard, fingerprint, iris, etc. Layered access via permissions  Different levels of user access Firewall  Inspect and filter incoming traffic Encryption  Encrypt data so that it is unreadable by outsiders