This project is 2 small simple assembly programs. A common task is converting a binary integer to an ASCII binary string, allowing
the latter to be displayed. This first program should do this.
PART 1.
1. Write a simple procedure that converts a 4-byte packed decimal number to a string of ASCII decimal digits.
2. Pass the packed number to the procedure in EAX, and pass a pointer to a buffer that will hold the ASCII digits.
3. Write a short test program that demonstrates several conversions and displays the converted numbers on the screen.
PART 2.
The other program is to write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers using only positive numbers.
Both programs are done using MASM32 and the Irvine32 library. Please include comments in the assembly program so I can understand what each piece of code does. I only need the working .asm files, to run using Visual Studio [login to view URL] required:
Microsoft, x86/x64 Assembler