Review of CMPE12C Fall 2003. CMPE12cCyrus Bazeghi 2 Practice Final Exam Simply print out all the homework solutions and the Midterm solutions and do problems.

Slides:



Advertisements
Similar presentations
10/9: Lecture Topics Starting a Program Exercise 3.2 from H+P Review of Assembly Language RISC vs. CISC.
Advertisements

Computer Engineering FloatingPoint page 1 Floating Point Number system corresponding to the decimal notation 1,837 * 10 significand exponent A great number.
CENG536 Computer Engineering department Çankaya University.
Lecture - 2 Number systems and computer data formats
Floating Point Numbers
Chapter 2 : Number System
1 Lecture 9: Floating Point Today’s topics:  Division  IEEE 754 representations  FP arithmetic Reminder: assignment 4 will be posted later today.
Floating Point Numbers
Floating Point Numbers. CMPE12cCyrus Bazeghi 2 Floating Point Numbers Registers for real numbers usually contain 32 or 64 bits, allowing 2 32 or 2 64.
CMPE12cCyrus Bazeghi 1 What do floating-point numbers represent? Rational numbers with non-repeating expansions in the given base within the specified.
CS 151 Digital Systems Design Lecture 3 More Number Systems.
CMPE12cGabriel Hugh Elkaim 1 What do floating-point numbers represent? Rational numbers with non-repeating expansions in the given base within the specified.
Number Systems Standard positional representation of numbers:

Signed Numbers.
Assembly Language and Computer Architecture Using C++ and Java
Floating Point Numbers
1 Welcome to CMPE 12C An Introduction to Computer Organization (Or, what is inside my case and how does it work) Fall 2003 Cyrus Bazeghi.
1 Welcome to CMPE 12C An Introduction to Computer Organization (Or, what is inside my case and how does it work) Winter 2004 Gabriel Hugh Elkaim.
ECE 331 – Digital System Design
Lab #2 Hints. CMPE12cCyrus Bazeghi 2 Want to produce ASCII table Needs to be in a form like: DecHexOctChar
ENGIN112 L3: More Number Systems September 8, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 3 More Number Systems.
1/8/ L24 IEEE Floating Point Basics Copyright Joanne DeGroat, ECE, OSU1 IEEE Floating Point The IEEE Floating Point Standard and execution.
COMP201 Computer Systems Number Representation. Number Representation Introduction Number Systems Integer Representations Examples  Englander Chapter.
+ CS 325: CS Hardware and Software Organization and Architecture Exam 1: Study Guide.
(2.1) Fundamentals  Terms for magnitudes – logarithms and logarithmic graphs  Digital representations – Binary numbers – Text – Analog information 
Simple Data Type Representation and conversion of numbers
2-1 Chapter 2 - Data Representation Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Chapter Contents.
Computing Systems Basic arithmetic for computers.
ACOE2511 ACOE251/AEEC335 -Assembly Language for the 80X86/Pentium Intel Microprocessors Lecturer: Dr. Konstantinos Tatas.
ECEN2102 Digital Logic Design Lecture 1 Numbers Systems Abdullah Said Alkalbani University of Buraimi.
1/8/ L24 IEEE Floating Point Basics Copyright Joanne DeGroat, ECE, OSU1 IEEE Floating Point The IEEE Floating Point Standard and execution.
Computer Architecture and Operating Systems CS 3230 :Assembly Section Lecture 10 Department of Computer Science and Software Engineering University of.
PC Assembler Ing. E.E. Mak MSc. Cluster1 Introduction Microprocessors Numbers, Binary, Hexadecimal, ASCII Adding and subtracting Instructions and Flags.
1 DLD Lecture 18 Recap. 2 Recap °Number System/Inter-conversion, Complements °Boolean Algebra °More Logic Functions: NAND, NOR, XOR °Minimization with.
CPU Internal memory I/O interface circuit System bus
CMPE12c Fall 03Cyrus BazeghiCMPE12c Fall 03Cyrus Bazeghi 1 Number Systems.
Lecture 9: Floating Point
CSC 221 Computer Organization and Assembly Language
SAK Chapter 21 Chapter 2 : Number System 2.1 Decimal, Binary, Octal and Hexadecimal Numbers 2.2 Relation between binary number system with other.
1 Understand the examples again Overflow –When two positive numbers added together or a negative number subtracted from a positive number yields negative.
Computer Engineering FloatingPoint page 1 Floating Point Number system corresponding to the decimal notation 1,837 * 10 significand exponent A great number.
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.
School of Computer and Communication Engineering, UniMAP Mohd ridzuan mohd nor DKT 122/3 - DIGITAL SYSTEM I Chapter.
Data Representation: Floating Point for Real Numbers Computer Organization and Assembly Language: Module 11.
1 Digital Logic Design Lecture 2 More Number Systems/Complements.
CHAPTER 3 Arithmetic For Computers 1/31/ Topics for discussion 1/31/ Number system: { radix/base, a set of distinct digits, operations} Radix.
CS 232: Computer Architecture II Prof. Laxmikant (Sanjay) Kale Floating point arithmetic.
Integer Operations Computer Organization and Assembly Language: Module 5.
Learning Objectives 3.3.1f - Describe the nature and uses of floating point form 3.3.1h - Convert a real number to floating point form Learn how to normalise.
Floating Point Arithmetic – Part I
Introduction To Computer Science
Integer Real Numbers Character Boolean Memory Address CPU Data Types
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
NxN Crossbar design for Barrel Shifter
CS 232: Computer Architecture II
Number Systems.
Chapter 6 Floating Point
Outline Introduction Floating Point Arithmetic Adder Multiplier.
BEE1244 Digital System and Electronics BEE1244 Digital System and Electronic Chapter 2 Number Systems.
Data Representation Data Types Complements Fixed Point Representation
The IEEE Floating Point Standard and execution units for it
Arithmetic Logical Unit
Floating Point Arithmetic
ECEG-3202 Computer Architecture and Organization
ECEG-3202 Computer Architecture and Organization
ARITHMETIC, LOGIC INSTRUCTIONS, AND PROGRAMS
Floating Point Arithmetic
Chapter 1 Introduction.
Presentation transcript:

Review of CMPE12C Fall 2003

CMPE12cCyrus Bazeghi 2 Practice Final Exam Simply print out all the homework solutions and the Midterm solutions and do problems again and check if you did them correctly. Do again and again. You can also check out the final on the Spring03 website to see some examples. Also look at old homework for memory hierarchy and pipelining questions (we did not cover as much this quarter).

CMPE12cCyrus Bazeghi 3 What we covered MAL programming Number Systems (Roman, Binary, Hexadecimal, Octal, Decimal) Data Representation (Biased Numbers, 1’s & 2’s Compliment, Sign Magnitude, ASCII, Floating Point) Arithmetic and Logical Operations (not, nor, nand, xor,…, shifting, rotating, addition, subtraction, multiplication) Floating Point Arithmetic (adding, subtracting, multiplying)

CMPE12cCyrus Bazeghi 4 Data Structures (memories, arrays (1D and 2D), queues, stacks) Procedures (JAL and JR, system stack usage) The Assembly Process (linking and loading, machine code, TAL) I/O and interrupts HC11 Assembly & Microcontrollers Architecture (Pipelining, Memory Hierarchy) What we covered

CMPE12cCyrus Bazeghi 5 How to convert between radixes Given the binary number 1011, what is the Decimal, Hex, and Octal equivalents? What is –23 in 1’s and 2’s Compliment? How about SM?

CMPE12cCyrus Bazeghi 6 Floating Point Add/Sub Add/Sub: What you do is very simple. 1)Break up into 3 parts (S,E,F) 2)Make the smaller exponent the same as the bigger one. 3)Adjust the fraction accordingly (be sure to put the hidden bit in). 4)Add/sub the fractional parts together, like SM. 5)Renormalize the fraction and adjust the exponent as needed. 6)Put back together into one 32-bit word the 3 parts, S, E, and F.

CMPE12cCyrus Bazeghi 7 Floating Point Multiplication Multiplication: What you do is so simple. 1)Break up into 3 parts (S,E,F). 2)Add exponents together and take out 127 to keep as biased 127 3)Multiply the 2 fractions (be sure to put the hidden bit back) 4)Renormalize the fraction and adjust the exponent as needed. 5)Put back together into one 32-bit word the 3 parts, S, E, and F.

CMPE12cCyrus Bazeghi 8 Arithmetic Operations Do you know how to do binary addition and subtraction? What is the difference between a logical and arithmetic shift? Remember how to do 2’s compliment addition? Subtraction? What about all the logical operations? (NOT, NOR, NAND…)

CMPE12cCyrus Bazeghi 9 Data Structures How do you make an array in MAL/HC11 (1D and 2D)? What is a queue? How about a stack? How do you implement one in MAL? How about HC11?

CMPE12cCyrus Bazeghi 10 Procedures So what is a procedure? What does it mean to “jump to it” and “jump out of it”? What is the system stack? How do we use it? What do we use it for?

CMPE12cCyrus Bazeghi 11 Assembly Process What is the assembly process? What is Machine Code? What are the different formats of the instructions?

CMPE12cCyrus Bazeghi 12 IO and Interrupts What is IO? How do we “talk” to it as a programmer? What are interrupts? Why use them? What are some alternatives?

CMPE12cCyrus Bazeghi 13 Microcontrollers What are microcontrollers? What are they used in and why? What are some of the differences between the HC11 and MAL assembly?

CMPE12cCyrus Bazeghi 14 Architecture What is pipelining? Why would use want to use it? What is a memory hierarchy? Why have one? What is “virtual memory”? Why use it?

CMPE12cCyrus Bazeghi 15 That is about it… Bring your HC11 programmers guide to the exam I will give you the MAL/TAL sheet I will weigh the final more than 40% if you do really good on it. This way if you did poorly on the first exams you can still pass or get better than a C. Good luck to you all!!!!