If I have one parameter to a function and the pointer is already in esi, do I need to push esi? Both work, but I am guessing the last one is better with a less push?
original:
invoke ParseLine, [esi]
ParseLine proc uses esi edi ebx pArray:DWORD
mov esi, pArray
call ParseLine
ParseLine proc uses esi edi ebx
mov esi, [esi]
"Less push" is better. And you don't need "use esi" except if your proc changes esi and you need the old value.
Good to know!