CS 3843 Computer Organization Prof. Qi Tian Fall 2013

Slides:



Advertisements
Similar presentations
CSE 351 Midterm Review. Your midterm is next Wednesday Study past midterms (link on the website) Point of emphasis: Registers are not memory Registers.
Advertisements

Computer Organization and Architecture Tutorial 6 Kenneth Lee.
Arithmetic in Computers Chapter 4 Arithmetic in Computers2 Outline Data representation integers Unsigned integers Signed integers Floating-points.
Computer Engineering FloatingPoint page 1 Floating Point Number system corresponding to the decimal notation 1,837 * 10 significand exponent A great number.
Princess Sumaya Univ. Computer Engineering Dept. Chapter 3:
Princess Sumaya Univ. Computer Engineering Dept. Chapter 3: IT Students.
Chapter 2 Representing and Manipulating Information Prof. Qi Tian CS 3843 Fall
Logic Circuits Another look at Floating Point Numbers Common Combinational Logic Circuits Timing Sequential Circuits Note: Multiplication & Division in.
Computer ArchitectureFall 2007 © September 10, CS-447– Computer Architecture M,W 2:30-3:50pm Lecture 8.
Assembly Language and Computer Architecture Using C++ and Java
1 Chapter 4: Arithmetic for Computers (Part 1) CS 447 Jason Bakos.
Assembly Language and Computer Architecture Using C++ and Java
Major Numeric Data Types Unsigned Integers Signed Integers Alphanumeric Data – ASCII & UNICODE Floating Point Numbers.
CSE 378 Floating-point1 How to represent real numbers In decimal scientific notation –sign –fraction –base (i.e., 10) to some power Most of the time, usual.
1/8/ L24 IEEE Floating Point Basics Copyright Joanne DeGroat, ECE, OSU1 IEEE Floating Point The IEEE Floating Point Standard and execution.
CS 105 Digital Logic Design
Introduction to Computing Systems from bits & gates to C & beyond Chapter 2 Bits, Data Types & Operations Integer Representation Floating-point Representation.
Final Exam Review Instructor : Yuan Long CSC2010 Introduction to Computer Science Apr. 23, 2013.
Computer Arithmetic. Instruction Formats Layout of bits in an instruction Includes opcode Includes (implicit or explicit) operand(s) Usually more than.
Computer Architecture Lecture 3: Logical circuits, computer arithmetics Piotr Bilski.
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.
1 CS/COE0447 Computer Organization & Assembly Language Chapter 3.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
CS 3843 Final Exam Review Fall 2013 December 5, 2013.
Number Systems So far we have studied the following integer number systems in computer Unsigned numbers Sign/magnitude numbers Two’s complement numbers.
Lecture 1 Binary Representation Topics Terminology Base 10, Hex, binary Fractions Base-r to decimal Unsigned Integers Signed magnitude Two’s complement.
07/19/2005 Arithmetic / Logic Unit – ALU Design Presentation F CSE : Introduction to Computer Architecture Slides by Gojko Babić.
CSE 241 Computer Organization Lecture # 9 Ch. 4 Computer Arithmetic Dr. Tamer Samy Gaafar Dept. of Computer & Systems Engineering.
1 Number Systems Lecture 10 Digital Design and Computer Architecture Harris & Harris Morgan Kaufmann / Elsevier, 2007.
Princess Sumaya Univ. Computer Engineering Dept. Chapter 3:
التحليل والتصميم المنطقي DIGITAL DESIGN Instructor : Khalil Alsulbi Mobile : Room : 217.
1/8/ L24 IEEE Floating Point Basics Copyright Joanne DeGroat, ECE, OSU1 IEEE Floating Point The IEEE Floating Point Standard and execution.
Computer Arithmetic See Stallings Chapter 9 Sep 10, 2009
How Computer Represent Data
Monday, January 14 Homework #1 is posted on the website Homework #1 is posted on the website Due before class, Jan. 16 Due before class, Jan. 16.
Logic Design / Processor and Control Units Tony Diep.
1 ELEN 033 Lecture 4 Chapter 4 of Text (COD2E) Chapters 3 and 4 of Goodman and Miller book.
1. Computing Systems Lecture 3 Binary Representation & Boolean Logic Binary and Logic 2.
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.
Computer Architecture Lecture 11 Arithmetic Ralph Grishman Oct NYU.
Lecture 2 Number Representation, Overflow and Logic Topics Adders Math Behind Excess-3 Overflow Unsigned, signed-magnitude Two’s Complement Gray Code Boolean.
CS 232: Computer Architecture II Prof. Laxmikant (Sanjay) Kale Floating point arithmetic.
1 Ethics of Computing MONT 113G, Spring 2012 Session 4 Binary Addition.
MicroProcessors Lec. 4 Dr. Tamer Samy Gaafar. Course Web Page —
1 Floating Point. 2 Topics Fractional Binary Numbers IEEE 754 Standard Rounding Mode FP Operations Floating Point in C Suggested Reading: 2.4.
1 CPTR 220 Computer Organization Computer Architecture Assembly Programming.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
Computing Systems Lecture 3 Binary Representation & Boolean Logic Binary and Logic 1.
S 2/e C D A Computer Systems Design and Architecture Second Edition© 2004 Prentice Hall Chapter 6 Overview Number Systems and Radix Conversion Fixed point.
1 Digital Logic Design (41-135) Chapter 5 Number Representation & Arithmetic Circuits Younglok Kim Dept. of Electrical Engineering Sogang University Spring.
Lecture 6. Fixed and Floating Point Numbers
Computer Organisation
DIGITAL LOGIC CIRCUITS
Recitation 4&5 and review 1 & 2 & 3
University of Gujrat Department of Computer Science
Lecture 10: Floating Point, Digital Design
CSCI206 - Computer Organization & Programming
How to represent real numbers
Chapter 2 Representing and Manipulating Information
13 Digital Logic Circuits.
CS 3843 Midterm Two Review Fall 2013 Prof. Qi Tian.
LOGIC Circuits.
The IEEE Floating Point Standard and execution units for it
Review In last lecture, done with unsigned and signed number representation. Introduced how to represent real numbers in float format.
Overview Fractions & Sign Extension Floating Point Representations
Chapter 2 Representing and Manipulating Information
Fundamentals of Digital Logic and Number Systems
Lecture 9: Shift, Mult, Div Fixed & Floating Point
ECE 120 Midterm 1 HKN Review Session.
Presentation transcript:

CS 3843 Computer Organization Prof. Qi Tian Fall

Today Course Syllabus Course web page: What to cover? Lecture notes and slides – Chapter 2: lecture notes most of time – Chapter 3 and 4: lecture slides most of time Chapter 2.1 Conversion between different numbering systems To do list: – Skim Chapter 1 – Read Chapter 2 through – Understand how to convert between different numbering systems

What to Cover? Chapter 2 – Representing and Manipulating Information Chapter 3 – Machine-Level Representation of Programs ATT Assembly Language (IA32) Chapter 4 – Y86 Instruction Set Architecture – Logic Design (combinational and sequential circuits)

Chapter 2 - Representing and Manipulating Information Conversion between different numbering systems – Based R representation and its conversion to decimal – Conversion between decimal, binary, and hexadecimal – Integer and Fraction part Binary representation of n-bit word for signed and unsigned integers – 2’s, 1’s complement and sign/magnitude Boolean operators and logical operators – &, |, ^, ~ – &&, ||, ! Shift operators ( > A, >> L ) Number representations using different data types (int, short, char, long) n-bit IEEE floating-point representation – S, M, E, bias, exp (k bits), frac (n bits) – Single precision and double precision – Normalized, denormalized, special values (+/- inf, NAN) – Largest, smallest value Rounding – Round-to-even; Round-towards-zero; Round-down, Round-up

Chapter 3 - Machine-Level Representation of Programs Understand all the IA32 assembly instructions, different operands and memory addressing modes; Understand assembly codes and write correct comments; Understand conditional codes (ZF, SF, OF, and CF) Identify and correct any mistakes in given assembly instructions; Write C codes from the given assembly codes and vice versa Trace the register values in given assembly procedure

Chapter 4 – Processor Architecture Y86 instruction encodings Translate object code to assembly code Translate Y86 instructions to object code Truth table and basic block diagram of logic gates (AND, OR, NOT, XOR, NAND, NOR), MUX, ALU, 1- bit full adder Function complete set Combinational circuits and sequential circuits SEQ and six basic stages Trace the processing of the instructions