Question: I need help with an Assembly program using Easy68K. The program should perform egyptian multiplication. The Algorithm is product = 0 while (M > 0)
I need help with an Assembly program using Easy68K. The program should perform egyptian multiplication.
The Algorithm is product = 0 while (M > 0) if (M is odd) product += N M /= 2; // integer division N *= 2; output product
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
