Representing Numbers

1/18/01


Click here to start


Table of Contents

Representing Numbers

Previously

Outline

Binary Representation

Range of Positive Numbers and Word Lengths

Negative Numbers

Two’s Complement

Two’s complement

Conversion

Negating a Number

Sign Extension

Integer Types

Signed/Unsigned Int

Addition

Overflow

Overflow Examples

Overflow Situations

Bit Operations

AND/OR

New MIPS Operations

Exceptions

More MIPS

Summary

Author: Information Systems Division

Email: clack@cs.ucl.ac.uk

Home Page: http://www.cs.ucl.ac.uk/staff/C.Clack/