go to previous page   go to home page   go to next page hear noise

Answer:

To make debugging easy.


Printing Out the Result

Here is the final section of the code.

        . . . . . 
				
        # print the result
        mov.s   $f12,$f2            # $f12 = argument
        li      $v0,2               # print single
        syscall

        la      $a0,newl            # new line
        li      $v0,4               # print string
        syscall

        li      $v0,10              # code 10 == exit
        syscall                     # Return to OS.

        .data
        . . . . .

blank:  .asciiz " "
newl:   .asciiz "\n"
        . . . . .

There is nothing new in this code.


QUESTION 18:

If x = 0.1 what is ax2 + bx + c when a = b = c = 1?


go to previous page   go to home page   go to next page