1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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