0

I am writing MIPS assembly for computing the gcd of two given numbers (recursively), but am struggling!

I vaguely understand changing the frame point counter, stack pointer etc. but I'm really at sea with how to implement the algorithm recursively (e.g. how to check if each number is even or odd, then somehow call the code again and again until input1=input2)

Any assistance will be very appreciated!

Thanks