Microprocessor 8085

Discussion in 'Assembly Language Programming (ALP) Forum' started by Zahid, Apr 18, 2007.

  1. Zahid

    Zahid New Member

    Joined:
    Apr 6, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    Hi shabbir,


    I wanna store the value -3 in the register B. I tried with

    MOV B,0x-03

    but it didn't work. May I know the instruction to do so?


    Regards,
    Zahid
     
  2. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    http://www.daweidesigns.com
    MVI B, -3
    or
    MVI B, 0FDH
     

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