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,009
    Likes Received:
    203
    Trophy Points:
    63
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice