Homework 4: Solution


Category: Tag:


Write a MIPS code which involves three functions:

    1. main
    2. poly
    3. pow

to compute the value of the polynomial given below for any value of x, as given by the


Your program must pass arguments to functions such as poly and pow and get return values from these functions. The input to the program (which is x) is obtained from the user inside the main function. The final output must be printed in the main function.

error: Content is protected !!