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
Email: clack@cs.ucl.ac.uk
Home Page: http://www.cs.ucl.ac.uk/staff/C.Clack/