The code below uses the Space macro which simply displays the number of blank spaces specified by its argument. What is the first number printed to the screen after this code executes? (ignore the .0000 from Canvas)
main PROC
push 4
push 10
call rcrsn
exit
main ENDP
Don't use plagiarized sources. Get Your Custom Essay on
Question & Answer: The code below uses the Space macro which simply displays the number of blank spaces specified by it…..
GET AN ESSAY WRITTEN FOR YOU FROM AS LOW AS $13/PAGE
rcrsn PROC
push ebp
mov ebp,esp
mov eax,[ebp + 12]
mov ebx,[ebp + 8]
cmp eax,ebx
jl recurse
jmp quit
recurse:
inc eax
push eax
push ebx
call rcrsn
mov eax,[ebp + 12]
call WriteDec
Space 2
quit:
pop ebp
ret 8
rcrsn ENDP
Expert Answer