Tom Kelliher, CS 240
Feb. 23, 2004
Homework due Wednesday!
Read carry lookahead material of 4.5.
String handling, summary of addressing modes, program build process.
Carry lookahead addition.
Important design principle: reuse.
2-1 mux symbol:

A one-bit two function logical unit:

Recall block diagram for full adder:

A one-bit three operation ALU:

A 32-bit three operation ALU:

Ripple carry addition.
What additional functionality needed?
Notes:
slt:
slt $t0, $t1, $t2 $t0 = ($t1 < $t2);
Can the difference of two unsigned numbers result in an overflow?
Difference?
Three input lines: