I am confused how adding 8 to esp would remove the values from the stack. Wouldn't the space allocated in the stack still be there?
Here is some sample code for how the AddTwo process could be called.
Example1 PROC
push 6
push 5
call AddTwo
add esp,8 ; remove arguments from the stack
ret
Example1 ENDP
Here is AddTwo
AddTwo PROC
push ebp
mov ebp,esp ; base of stack frame
mov eax,[ebp + 12] ; second parameter
add eax,[ebp + 8] ; first parameter
pop ebp
ret
AddTwo ENDP