Review for Chapter 4
All of the following should make sense when you understand
the chapter
-
BASES
-
base 10 « binary 1210
= 11002
-
hexadecimal « binary «
octal 1316 = 000100112 = 0238
-
hex ® base10 ß
octal
-
UNSIGNED NUMBERS *
-
decimal « unsigned n bits
-
greatest positive or smallest negative in n bits
-
unsigned number <==> code ( if given the op table and
register numbers - cf homework )
-
2's COMPLEMENT NUMBERS *
-
decimal « 2's complement
-
inverse
-
greatest positive or smallest negative in n bits
-
addition
-
'subtraction'
-
overflow
-
bit-wise AND
-
bit-wise OR
-
bit-wise NOT
-
ALU
-
adder circuit w/carry in, carry out
-
signal tracing (e.g. given fig. 4.17 & inputs, find outputs)
-
control inputs for +, -, AND, OR, NOT , slt
-
overflow logic
-
MULTIPLICATION *
-
'3rd' algorithm
-
product = [ 0…0 multiplicand ]
-
Booth's algorithm
-
product = [ 0…0 multiplicand 0 ]
-
table: 00 ® X | 01®
- | 10 ® + | 11 ®
X (X means ' do nothing' )
-
How may adds (sub = add) are done (saved) by Booth's algorithm?
-
3rd version of the multiply hardware (p 257)
-
FLOATING POINT *
-
IEEE 754 format ( other formats are possible with the same
basic rules but different field lengths and biases)
-
sign
-
exponent
-
bias
-
mantissa
-
normalization
-
significand
-
decimal fraction ç è
IEEE 754 format (or other if given details)
* Note: in general I will probably not give 32-bit problems
but rather 4, 8 or 16 bits problems for simplicity