Trouble undertsanding the following AL code

Newbie Member
19Jan2011,10:21   #1
Rohit_4739's Avatar
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 !!!!
Invasive contributor
21Feb2011,13:38   #2
lionaneesh's Avatar
Quote:
Originally Posted by Rohit_4739 View Post
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...