8085 Error

Discussion in 'Assembly Language Programming (ALP) Forum' started by ntpro, Jan 28, 2008.

  1. ntpro

    ntpro New Member

    Joined:
    Jan 27, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I have this memory
    06, 90, F3, 21, 99, F3, 36, B0, AF, 32, 6F, E5, 36, CD, C9, 00, 31, 00, FF, CD, 90, F3

    the task is to disassembly and then run from F3A0 address on 8085.
    After disassembly

    MIV B 90 move 90 to reg B
    DI disable interupts
    LXI H F399 Load F399 to HL reg pair
    MVI M B0 move B0 to mem pointed by HL
    XRA A logical XOR Accum with reg A
    STA E56F store accum to mem E56F
    MVI M CD move CD to mem pointed by HL reg pair
    RET return ??

    now here is the problem I get an error that the SP in not defined. Is that correct or I have made a mistake at disassembly the hex code???????///
     

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