MIPS arithmetic Design Principle: simplicity favors regularity. Why? of course this complicates some things c code: A=b+C+d: EE F-A MIPS code: add sto, ss1, ss2 add sso, sto, $s3 sub ss4, Ss5, Ss0 Operands must be registers, only 32 registers provided Design Principle: smaller is faster. Why? 北京大学计算机科学技术系 计算机系统结枃教硏室GÜWÑÇj°_+ ÑÇj+´DÔ 0,36DULWKPHWLF e'HVLJQ3ULQFLSOHVLPSOLFLW\IDYRUVUHJXODULW\ :K\" e2IFRXUVHWKLVFRPSOLFDWHVVRPHWKLQJV &FRGH $ %&' ( ) $ 0,36FRGH DGGW VV DGGV WV VXEV VV e2SHUDQGVPXVWEHUHJLVWHUVRQO\UHJLVWHUVSURYLGHG e'HVLJQ3ULQFLSOHVPDOOHULVIDVWHU :K\"