This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: I-type: opcode(6)-rs(5)-rt(5)-immediate(16) J-type: opcode(6)-address(26) float: 1.f*2^e sign(1N/0P)-exp(8,excess-127)-fraction(23) double: sign(1N/0P)-exp(11,excess-1023)-fraction(52) Function: !! save $ra main: save except $s0-$s7 addi $sp, $sp, -4 sw $t1, 0($sp) jal function lw $t1, 0($sp) addi $sp, $sp, 4 restore function: # para:$a0-$a3 return: $v0-$v1 jr $ra Sheet1 Page 2 Register: $s0-$s7, $t0-$t9, $a0-$a3, $v0-$v1, $0, $sp, $ra, $at(temp reg) Macro: CPU time = Instructions executed * CPI(x,p) * Clock cycle time...
View Full Document
This note was uploaded on 03/04/2010 for the course CS 373 taught by Professor Kuma during the Spring '10 term at University of Illinois at Urbana–Champaign.
- Spring '10