Help !!! Can any body explain me the below posted assembky instruction

< #include

int main()
int a,b=6,c=6;
00000000 push ebp
00000001 mov ebp,esp
00000003 sub esp,0Ch
00000006 cmp dword ptr ds:[002530E4h],0
0000000d je 00000014
0000000f call 601453E1
00000014 xor edx,edx
00000016 mov dword ptr [ebp-8],edx
00000019 xor edx,edx
0000001b mov dword ptr [ebp-4],edx
0000001e xor edx,edx
00000020 mov dword ptr [ebp-0Ch],edx
00000023 mov dword ptr [ebp-8],6
0000002a mov dword ptr [ebp-4],6


  • line ..006 dword ptr refers to variable location. and the others dword ptr refer to different variables [ebp-8] is one location, [ebp-4], [ebp-0ch], these last three maybe part of an array of DWORDs. the other instructions can be found in intel instruction guide .pdf, google that for more help too!

    Hope that helps. You trying to debug something, or you just snooping around? rofl

  • sorry, nowadays people use the graphics card, with appropriate libraries to do graphics faster, assembler language and graphics goes back to the dos days for me ;)

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!