9: int arr[]={6,7,8,9,10};
0040D708 mov dword ptr [ebp-14h],6
0040D70F mov dword ptr [ebp-10h],7
0040D716 mov dword ptr [ebp-0Ch],8
0040D71D mov dword ptr [ebp-8],9
0040D724 mov dword ptr [ebp-4],0Ah
10: int *ptr=arr;
0040D72B lea eax,[ebp-14h]
0040D72E mov dword ptr [ebp-18h],eax
11: *(ptr++)+=123;
0040D731 mov ecx,dword ptr [ebp-18h]
0040D734 mov edx,dword ptr [ecx]
0040D736 add edx,7Bh
0040D739 mov eax,dword ptr [ebp-18h]
0040D73C mov dword ptr [eax],edx
0040D73E mov ecx,dword ptr [ebp-18h]
0040D741 add ecx,4
0040D744 mov dword ptr [ebp-18h],ecx
12: printf("%d,%d",*ptr,*(++ptr));
0040D747 mov edx,dword ptr [ebp-18h]
0040D74A add edx,4
0040D74D mov dword ptr [ebp-18h],edx
0040D750 mov eax,dword ptr [ebp-18h]
0040D753 mov ecx,dword ptr [eax]
0040D755 push ecx
0040D756 mov edx,dword ptr [ebp-18h]
0040D759 mov eax,dword ptr [edx]
0040D75B push eax
0040D75C push offset string "%d,%d" (00422fb4)
0040D761 call printf (00401060)
0040D766 add esp,0Ch
13: printf(" %d,%d",*ptr,*(ptr++));
0040D769 mov ecx,dword ptr [ebp-18h]
0040D76C mov edx,dword ptr [ecx]
0040D76E mov dword ptr [ebp-1Ch],edx
0040D771 mov eax,dword ptr [ebp-1Ch]
0040D774 push eax
0040D775 mov ecx,dword ptr [ebp-18h]
0040D778 mov edx,dword ptr [ecx]
0040D77A push edx
0040D77B push offset string " %d,%d" (00422fac)
0040D780 mov eax,dword ptr [ebp-18h]
0040D783 add eax,4
0040D786 mov dword ptr [ebp-18h],eax
0040D789 call printf (00401060)
0040D78E add esp,0Ch
14: printf("\nHello World!\n");
0040D791 push offset string "\nHello World!\n" (0042201c)
0040D796 call printf (00401060)
0040D79B add esp,4
|