Disassembly of variable definitions

Source: Internet
Author: User

0041134a INT 3 <br/> 0041134b INT 3 <br/> 0041134c INT 3 <br/> 0041134d INT 3 <br/> 0041134e INT 3 <br/> 0041134f INT 3 <br /> --- E: \ programing \ disassembly \ main functon \ main functiong. CPP ------------- <br/> # include <stdio. h> </P> <p> int main () <br/> {<br/> 00411350 push EBP // press into EBP <br/> 00411351 mov EBP, ESP // save esp. ESP is the stack pointer and EBP is the base address pointer. <br/> 00411353 sub ESP, 0cch // set aside a certain amount of storage space for the current <SPAN class = 'wp _ keywordlink '> Program </span> </P> <p> // stack pressure <br/> 00411359 push EBX <br/> 0041135a push ESI <br/> 0041135b push EDI </P> <p> // obtain the first address of the temporary storage area set aside by this function <br/> 0041135c Lea EDI, [ebp-0CCh] <br/> // In debug model variables are initialized to be 0xcc <br/> 00411362 mov ECx, 33 H <br/> 00411367 mov eax, 0 cccccccch </P> <p> // repeat ES: [EDI] to store 30 0 cccccccch STOs is a string storage command <br/> 0041136c rep STOs dword ptr es: [EDI] <br/> int A; <br/> A = 10; <br/> 0041136e mov dword ptr [a], 0ah </P> <p> return 0; <br/> 00411375 XOR eax, eax <br/>}</P> <p> // pop up from the stack <br/> 00411377 pop EDI <br/> 00411378 pop ESI <br/> 00411379 pop EBX <br/> 0041137a mov ESP, EBP <br/> 0041137c pop EBP <br/> 0041137d RET <br/> --- no source file seek <br/> 0041137e INT 3 <br/> 0041137f INT 3 <br/>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.