Lecture 6 Excess Notation. Excess 8 notation indicates that the value for zero is the bit pattern for 8, that is 1000 Excess 8 notation indicates that.

Slides:



Advertisements
Similar presentations
©Brooks/Cole, 2003 Chapter 3 Number Representation.
Advertisements

Chapter 1.7 Storing Fractions. Excess Notation, continued… In this notation, "m" indicates the total number of bits. For us (working with 8 bits), it.
CS 447 – Computer Architecture Lecture 3 Computer Arithmetic (2)
Computer ArchitectureFall 2007 © September 5, 2007 Karem Sakallah CS 447 – Computer Architecture.
M68K Assembly Language Programming Bob Britton Chapter 12 IEEE Floating Point Notice: Chapter slides in this series originally provided by B.Britton. This.
Representing Real Numbers Using Floating Point Notation Lecture 6 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
1 CSE1301 Computer Programming Lecture 33 Supplement: Conversions: Unsigned Binary to Decimal Decimal to Unsigned Binary.
Chapter Chapter Goals Know the different types of numbers Describe positional notation.
Chapter 02 Binary Values and Number Systems Nell Dale & John Lewis.
Computer ArchitectureFall 2008 © August 27, CS 447 – Computer Architecture Lecture 4 Computer Arithmetic (2)
 A binary number is a number that includes only ones and zeroes.  The number could be of any length  The following are all examples of binary numbers.
Computer Systems Nat 4/5 Computing Science Lesson 1: Binary.
REMEMBER: A number can be negative or positive as shown in the number line below: Negative Numbers (-) Positive Numbers (+)
3. Representing Integer Data
Convert Decimal to Floating point number [IEEE 754]
Lecture for Week Spring.  Numbers can be represented in many ways. We are familiar with the decimal system since it is most widely used in everyday.
Copyright © Cengage Learning. All rights reserved. CHAPTER 2 THE LOGIC OF COMPOUND STATEMENTS THE LOGIC OF COMPOUND STATEMENTS.
DECIMAL BASE Based on power of 10 In the number 2,468 – from right to left -- the 8 represents the ones, the 6 represents the tens, the 4 represents the.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI 230 Information Representation: Negative and Floating Point.
Chapter 1 Data Storage(3) Yonsei University 1 st Semester, 2015 Sanghyun Park.
COMPSCI 210 Semester Tutorial 1
Calculating Two’s Complement. The two's complement of a binary number is defined as the value obtained by subtracting the number from a large power of.
Representation of Data Ma King Man. Reference Text Book: Volume 2 Notes: Chapter 19.
Lecture 4 Last Lecture –Positional Numbering Systems –Converting Between Bases Today’s Topics –Signed Integer Representation Signed magnitude One’s complement.
Lecture 5. Topics Sec 1.4 Representing Information as Bit Patterns Representing Text Representing Text Representing Numeric Values Representing Numeric.
Chapter 2 Binary Values and Number Systems. 2 2 Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645,
©Brooks/Cole, 2003 Chapter 3 Number Representation.
6 October 2015Birkbeck College, U. London1 Introduction to Computer Systems Lecturer: Steve Maybank Department of Computer Science and Information Systems.
Chapter 2: The Logic of Compound Statements 2.5 Application: Number Systems and Circuits for Addition 1 Counting in binary is just like counting in decimal.
NUMBER SYSTEM Decimal System Binary System. We use two digits in this system (0,1) just like the existing system of computers.. And write the number in.
Lecture 2 Binary Values and Number Systems. The number 943 is an example of a number written in positional notation. The relative positions of the digits.
Chapter 8 L8-4 Notes: Multiplying Integers. Study the examples below and see if you spot any patterns. Can you figure out the rules for multiplying and.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI N305 Information Representation: Floating Point Representation.
Chapter 2 Number Systems: Decimal, Binary, and Hex.
THE BINARY NUMBER SYSTEM “There are only 10 types of people in this world: Those who understand BINARY and those who do not.”
Number Systems & Operations
COMPUTER SCIENCE Data Representation and Machine Concepts Section 1.6 Instructor: Lin Chen Sept 2013.
Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Signed Integers The highest bit indicates the sign. 1 = negative, 0 = positive.
Introduction to computers 103 學年度 上學期 Solution of Homework_ch12 授課教授:李錫智.
Complete the Following Table. From the Previous Table… What patterns do you notice in the table? How can you tell how many zeros are in a number based.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patternson and Hennessy Text.
IP Addressing Dotted Decimal and Binary explanation.
????????? x x x x x What do the numbers to the left have in common? They all start with a number.
Data Representation: Floating Point for Real Numbers Computer Organization and Assembly Language: Module 11.
Chapter 2 Binary Values and Number Systems Chapter Goals Distinguish among categories of numbers Describe positional notation Convert numbers in.
1 COMS 161 Introduction to Computing Title: Computing Basics Date: September 8, 2004 Lecture Number: 7.
©Brooks/Cole, 2003 Chapter 3 Number Representation.
COMPUTER SCIENCE Data Representation and Machine Concepts Section 1.7 Instructor: Lin Chen Sept 2013.
How to write numbers in Scientific Notation Scientific Notation is a standard way of writing very large and small numbers so that they’re easier to use.
Computer Organization 1 Data Representation Negative Integers.
Lecture 2: 8/29/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
Bits, Data types, and Operations: Chapter 2 COMP 2610 Dr. James Money COMP
Lecture 6: Floating Point Number Representation Information Representation: Floating Point Number Representation Lecture # 7.
4-2 Integer Exponents Warm Up Evaluate , , ,000,000.
Binary Values. Numbers Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645, 32 Negative Numbers.
Department of Computer Science Georgia State University
Fundamentals of Computer Science
Backgrounder: Binary Math
Introduction To Computer Science
Integer Real Numbers Character Boolean Memory Address CPU Data Types
Unit 1: Matter & Measurement
1.6) Storing Integer:.
Topic 1: Data Representation
Number Representation
Binary Numbers The Binary number system is derived from Base 2. In base 2 there are only 2 numerical options 0 and 1. The computer sees these as Off.
The Binary System.
COMS 161 Introduction to Computing
1.6) Storing Integer: 1.7) storing fraction:
Presentation transcript:

Lecture 6 Excess Notation

Excess 8 notation indicates that the value for zero is the bit pattern for 8, that is 1000 Excess 8 notation indicates that the value for zero is the bit pattern for 8, that is 1000 The bit patterns are 4 bits long The bit patterns are 4 bits long Positive numbers are above it in order and negative numbers are below it in order. Positive numbers are above it in order and negative numbers are below it in order.

Figure 1.24 An excess eight conversion table

Excess Notation (continue) That is the zero point for Excess 128 notation is 128; the zero point for excess 64 notation is 64; and so forth. That is the zero point for Excess 128 notation is 128; the zero point for excess 64 notation is 64; and so forth. For example, let's say we want to determine the pattern for 15 in Excess 128 notation. For example, let's say we want to determine the pattern for 15 in Excess 128 notation. The decimal number would be , or 143. Therefore, the bit pattern would be The decimal number would be , or 143. Therefore, the bit pattern would be

Excess Notation Formulas

Example1 A computer stores decimal integer values in 8 bits, using excess-128 notation. How would the decimal value -60 stored? A computer stores decimal integer values in 8 bits, using excess-128 notation. How would the decimal value -60 stored? Solution: Solution: stored number = stored number = = ( ) = ( )

Example 2 The binary number, , is in excess-128 notation. What is the number in decimal? The binary number, , is in excess-128 notation. What is the number in decimal? Solution: Solution: = 0* * = 0* * * *2 + 1 = 93 in excess-128 = 93 in excess-128 actual number = 93 – 128 = -35 actual number = 93 – 128 = -35