Question: int MyExponent ( int x , int y ) { return x ^ y; / / x raised to the power of y } Using
int MyExponentint x int y
return xy; x raised to the power of y
Using bit cdecl protocol and the above specification, write x assembly language code to implement the procedurename must be MyExponent
Provide you code in the text area below.
Note: int types are mapped to double word in assembly. Assume that none of the parameters are negative numbers.
Write just the full procedureincluding PROC ENDP only, nothing else.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
