Assume the code below is executed on a computer with a clock rate of2GHz.
assume thataddtakesoneclock cycle to execute,lwrequires2clock
cycles to execute,subrequiresoneclock cycle andswrequires3clock cycles to execute.
ماتنسي تكتبي القاعدة عند الاجابة على السؤالين
add $t0 , $t1 , $t2
lw $s0 , 12( $t0)
add $t0 , $t3 , $t4
lw $s1 , 20( $t0)
sub $s3 , $s0 , $s1
sub $t0 , $t5 , $t6
sw $s3 , 24( $t0)
sw $s3 , 48( $t0)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here