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

Howdy, Stranger!

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


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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

HigherHigher Posts: 4Member
< #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


  • OceanJeff40OceanJeff40 Posts: 9Member

    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

  • IcepickleIcepickle GermanyPosts: 49Member

    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.