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

need help (please explain)

Discussion in 'Assembly Language Programming (ALP) Forum' started by fmmctg01, Jun 4, 2011.

  1. fmmctg01

    fmmctg01 New Member

    Joined:
    Mar 31, 2011
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    0
    what is in DX after execution the following
    MOV AX, 4512H
    MOV DX, 0F000H
    ADD AH, 0E2H
    ADC DX, AX
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    What do you think will be in DX and why?
    If you don't know what the opcodes do, try reading the manual. Adding two numbers together shouldn't be too difficult for you to work out.
     

Share This Page