Following Function Int Func Int Int B B B 3 Return Generate Mips Code Using Template Assu Q37287279

For the following function:

int func(int a, int b) { while (a >= b) { a = b * 3; } return a;}

Generate the MIPS code using the template below. You can assumeparameters are passed by value, and the parameters are alreadystored on the stack. List any other assumption you are making.


Answer


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.