Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Assembly Language Programming (ALP) Forum (http://www.go4expert.com/forums/assembly-language-programming-forum/)
-   -   Trouble undertsanding the following AL code (http://www.go4expert.com/forums/trouble-undertsanding-following-al-code-t24610/)

Rohit_4739 19Jan2011 10:21

Trouble undertsanding the following AL code
 
Please help me explaining what does the following code written in assembly language mean.

:004030F3 7427 je 0040311C
:004030F3 4840 dec eax, inc eax

What does the first part in both the instructions mean i.e :004030F3 7427 (in 1st line ) and :004030F3 4840 (in 2nd line)

And then how
:004030F3 7427 je 0040311C (offset 24F3)
becomes
:004030F3 4840 dec eax, inc eax


Please help ..

Thanks !!!!

lionaneesh 21Feb2011 13:38

Re: Trouble undertsanding the following AL code
 
Quote:

Originally Posted by Rohit_4739 (Post 77791)
Please help me explaining what does the following code written in assembly language mean.

:004030F3 7427 je 0040311C
:004030F3 4840 dec eax, inc eax

What does the first part in both the instructions mean i.e :004030F3 7427 (in 1st line ) and :004030F3 4840 (in 2nd line)

And then how
:004030F3 7427 je 0040311C (offset 24F3)
becomes
:004030F3 4840 dec eax, inc eax


Please help ..

Thanks !!!!

':004030F3' is the address where the instruction is located...The memory address

'7427' is the opcode ...

Same is with the second instruction...


All times are GMT +5.5. The time now is 08:47.