Write the recursive GCD function in ASM. Your main program mustcall this function with a pairs of 32-bit unsigned parameters X andY. Your GCD function should return the greatest common divisor of Xand Y in register EAX, and your main program should display thisvalue EAX [= GCD of X and Y].
Expert Answer
Answer to Write the recursive GCD function in ASM. Your main program must call this function with a pairs of 32-bit unsigned param…