Question: The space macro makes the program do 2 spaces. The answer is 120__24__6__2__1. But I'm not sure how you get there. Can someone please explain
The space macro makes the program do 2 spaces. The answer is 120__24__6__2__1. But I'm not sure how you get there.
Can someone please explain step by step. I am confused.

36. (5 pts)The code below uses the Space macro defined previously. What output is generated by the MASM "program"? main PROC push 1 push 1 push 5 call rfinal exit main ENDP rfinal PROC push ebp mov ebp,esp mov eax, [ebp+16] mov ebx, [ebp+12] mov ecx, [ebp+8] mul ebx mov[ebp+16],eax cmp ebx , ecx jge unwind incebx push eax push ebx push ecx call rfinal unwlnd: eax, [ebp+16)] mov call WriteDec Space2 pop ebp ret 12 rfinal ENDP
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
