1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Trouble undertsanding the following AL code

Discussion in 'Assembly Language Programming (ALP) Forum' started by Rohit_4739, Jan 19, 2011.

  1. Rohit_4739

    Rohit_4739 New Member

    Joined:
    Jan 19, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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 !!!!
     
  2. lionaneesh

    lionaneesh Active Member

    Joined:
    Mar 21, 2010
    Messages:
    848
    Likes Received:
    224
    Trophy Points:
    43
    Occupation:
    Student
    Location:
    India
    ':004030F3' is the address where the instruction is located...The memory address

    '7427' is the opcode ...

    Same is with the second instruction...
     

Share This Page