Computer Organization Exam Review CS345 David Monismith.

Slides:



Advertisements
Similar presentations
Processor Technology and Architecture
Advertisements

Midterm Wednesday Chapter 1-3: Number /character representation and conversion Number arithmetic Combinational logic elements and design (DeMorgan’s Law)
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
CSC 101 Introduction to Computing Lecture 9 Dr. Iftikhar Azim Niaz 1.
3 1 3 C H A P T E R Hardware: Input, Processing, and Output Devices.
IT253: Computer Organization Lecture 4: Instruction Set Architecture Tonga Institute of Higher Education.
Computer Systems Organization CS 1428 Foundations of Computer Science.
CPS120: Introduction to Computer Science Introduction to Computers.
Assembly Language A Brief Introduction. Unit Learning Goals CPU architecture. Basic Assembler Commands High level Programming  Assembler  Machine Language.
The Central Processing Unit (CPU) and the Machine Cycle.
CSCI 211 Intro Computer Organization –Consists of gates for logic And Or Not –Processor –Memory –I/O interface.
Computer Architecture And Organization UNIT-II General System Architecture.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Indira Gandhi National Open University presents. A Video Lecture Course: Computer Platforms.
M U N - February 17, Phil Bording1 Computer Engineering of Wave Machines for Seismic Modeling and Seismic Migration R. Phillip Bording February.
Stored Programs In today’s lesson, we will look at: what we mean by a stored program computer how computers store and run programs what we mean by the.
MICROOCESSORS AND MICROCONTROLLER:
Assessment Covering… Von Neuman architecture Registers – purpose and use, the fetch execute cycle.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patternson and Hennessy Text.
Dale & Lewis Chapter 5 Computing components
Performance Performance
CS 1308 Exam 2 Review. Exam Format 110 Total Points 24 Points Short Answer 28 Points Fill in the Blank 16 Points T/F 36 Points Multiple Choice The above.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
First Foray into Programming (the hard way). A reminder from last lesson: A machine code instruction has two parts:  Op-code  Operand An instruction.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and from the Patterson and Hennessy Text.
Computer Architecture. Instruction Set “The collection of different instructions that the processor can execute it”. Usually represented by assembly codes,
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
William Stallings Computer Organization and Architecture 6th Edition
Microprocessor and Microcontroller Fundamentals
COMP2121: Microprocessors and Interfacing
Assembly language.
Computer Organization
Lecture 3: MIPS Instruction Set
Central Processing Unit Architecture
Microprocessor Systems Design I
Chapter 4 The Von Neumann Model
Computer Design & Organization
Computer Science 210 Computer Organization
Microprocessor Systems Design I
Microprocessor and Assembly Language
Computer Architecture
Computer Science 210 Computer Organization
Lecture 4: MIPS Instruction Set
Computer Programming Machine and Assembly.
CSCI206 - Computer Organization & Programming
CSCE Fall 2013 Prof. Jennifer L. Welch.
Computer Architecture
ECEG-3202 Computer Architecture and Organization
Computer Architecture
MARIE: An Introduction to a Simple Computer
ECEG-3202 Computer Architecture and Organization
CSCE Fall 2012 Prof. Jennifer L. Welch.
What is Computer Architecture?
Introduction to Microprocessor Programming
Instruction Set Principles
What is Computer Architecture?
What is Computer Architecture?
Computer Architecture
The Von Neumann Machine
Course Outline for Computer Architecture
A Level Computer Science Topic 5: Computer Architecture and Assembly
Computer Evolution and Performance
Information Representation: Machine Instructions
Husky Energy Chair in Oil and Gas Research
CSE378 Introduction to Machine Organization
COMPUTER ARCHITECTURE
Chapter 10 Instruction Sets: Characteristics and Functions
Chapter 4 The Von Neumann Model
Dr. Clincy Professor of CS
Presentation transcript:

Computer Organization Exam Review CS345 David Monismith

Outline History Basic Components of a Computer Parts of the CPU Performance Instruction Set Architectures Compilation Writing Assembly Code Data Types and Their Sizes Conversion from Assembly to Machine Code

History Know the accomplishments of Charles Babbage and Ada Lovelace Understand Moore’s Law Know John von Neumann’s accomplishments – Especially the von Neumann architecture – Know the stored program concept of both data and program being stored in memory – Both instructions and variables are data

Basic Components of a Computer CPU Bus or interconnect Main memory (RAM) Secondary Memory I/O (input and output)

Parts of the CPU ALU – Arithmetic and Logic Unit Control Unit Program Counter Register File Floating Point Unit Cache

Performance Understand various performance measures – Latency – Bandwidth – Resource cost – Speed of execution – Energy consumption Runtime Frequency Cycles Per Instruction Amdahl’s Law Speedup Benchmarking – Timed vs. Synthetic (Whetstone/Dhrystone) vs. Analytical (CP&I)

Instruction Set Architectures Understand that different CPUs may make use of different instruction sets. Understand that chips with the same ISA should be able to read and run the same executable program. Understand the difference between RISC and CISC architectures. Understand assembly instructions and the difference between opcodes and operands.

Compilation High level language to assembly Assembly to machine language Linking Loading

Assembly Code Given the green sheet and a list of syscalls, know how to write a basic assembly program. Understand the.text and.data sections. Know how to use arrays and variables. Know how to use temporary and saved registers. Be able to write if-else statements and do-while loops. Be able to perform integer and floating point arithmetic, comparisons, logic operations, and branching.

Data Types and Their Size There are 8 bits in a byte and an ASCII character. There are 32 bits in a word (an int and an instruction) There are 32 bits in a single precision floating point variable. There are 64 bits in a double precision floating point variable. How many bytes are in an int? (4) a word? (4) A float? (4) A double? (8)

Numeric Base Conversions Understand base 2, 10, and 16 numbers Binary to Decimal and back Binary to Hexadecimal and back Decimal to binary to hex

Conversion from Assembly to Machine Code Know R and I type instructions in assembly. Know how to convert these instructions to binary machine code. Know how to convert the binary machine code to a hex instruction.