Difference between dword ptr and dword ptr:es
问题 I was just checking the disassembly of my C++ program in VS2010. Here it is : int main() { 00B613A0 push ebp 00B613A1 mov ebp,esp 00B613A3 sub esp,0D4h 00B613A9 push ebx 00B613AA push esi 00B613AB push edi 00B613AC lea edi,[ebp-0D4h] 00B613B2 mov ecx,35h 00B613B7 mov eax,0CCCCCCCCh 00B613BC rep stos dword ptr es:[edi] 00B613BE mov eax,dword ptr [___security_cookie (0B67000h)] 00B613C3 xor eax,ebp 00B613C5 mov dword ptr [ebp-4],eax char temp[] = "hello"; 00B613C8 mov eax,dword ptr [string