Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;int a = 10;
- ;int& ref_a = a;
- ;ref_a = 11;
- ;a vive en (ebp +_a)
- ;ref_a vive en (ebp +_ref_a)
- mov DWORD PTR _a$[ebp], 10 ; 0000000aH // push 10 en (ebp +_a)
- lea eax, DWORD PTR _a$[ebp] ; // load address (ebp +_a) en eax
- mov DWORD PTR _ref_a$[ebp], eax; // push eax en (ebp +_ref_a) i.e. (ebp +_a)
- mov ecx, DWORD PTR _ref_a$[ebp]; // mov ecx,DWORD PTR [ebp +_ref_a]; i.e. load (ebp + _a) en ecx
- mov DWORD PTR [ecx], 11 ; 0000000bH // mov DWORD PTR [ebp+_a],11; i.e. push 11 en (ebp +_a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement