Thank you in advance ....................................
What is the utility of ebp in Win32 asm.
And why ebx, edi, esi are also important ?
Thank you again.............................................
What is the utility of ebp in Win32 asm.
And why ebx, edi, esi are also important ?
Thank you again.............................................
ebp is usually used to store the stack frame address.
My guess on why ebx,edi,esi are important is because in 16bit days, you have to use those 3 register to access memory indirectly.
My guess on why ebx,edi,esi are important is because in 16bit days, you have to use those 3 register to access memory indirectly.
And besides what roticv said, there is no 'better' or 'worse' register. Windows requires ebx, esi, edi (and ebp, esp, if I recall right ) to be preserved by all functions. Nothing more about these registers.
Thank you for all of you.