MIPS arithmetic All instructions have 3 operands Operand order is fixed ( destination first Example: c code A =B+C MIPS code: add Ss0, Ssl, $s2 associated with variables by compiler) 北京大学计算机科学技术系 计算机系统结枃教硏室GÜWÑÇj°_+ ÑÇj+´DÔ 0,36DULWKPHWLF e$OOLQVWUXFWLRQVKDYHRSHUDQGV e2SHUDQGRUGHULVIL[HGGHVWLQDWLRQILUVW ([DPSOH &FRGH $ %& 0,36FRGH DGGV VV DVVRFLDWHGZLWKYDULDEOHVE\FRPSLOHU