y= 0.4*x+1
li.s $f0, 0.4 mul.d $f1, $f0, $t1 mfhi $a2 mflo $v0 # print the result li $v0, 2 # load appropriate system call code into reg $v0 la $a0, 0($v0) # load address of string to be printed on $a0 syscal
Quote:mul.d $f1, $f0, $t1
FPU
$t1
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)