MIPS arithmetic
Design Principle: simplicity favors regularity. Why?
Of course this complicates some things... C code: A = B + C + D; E = F - A; MIPS code: add $t0, $s1, $s2 add $s0, $t0, $s3 sub $s4, $s5, $s0
Operands must be registers, only 32 registers provided
Design Principle: smaller is faster. Why?