Est. Budget: $10.00
Implement with MIPS assembly the function gcd.
gcd recives two arguments, $a0, $a1, which are two decimal numbers.
The function finds the greatest common divisor of $a0,$a1, and returns this value in $v0.
Details: Your assembly file, gcd.s , should contain the following:
a. A main function (a global label that should appear at the beginning of the file) that:
i. Reads the two decimal values. The values are at most 1000, each.
ii. Calls the function gcd. (do ...