Home / ECE / Exam Questions Paper :: Discussion

Discussion :: Exam Questions Paper

  1. Consider the following program segment written for 8085 based system
    LXI SP, FFFFH
    MVI A, FFH
    MOV BB, A
    K: DCR B
    PUSH HL
    JNZ K
    INR A
    LXI H, FFCEH
    CPI 20H
    LHLD

    The contents of accumulator is :

  2. A.
    CE
    B.
    20
    C.
    indeterminate
    D.
    none of these

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    Since contents of HL register pair are unknown and are continuously ''PUSH''ed on the stack; retrieval of the same will result in ''Indeterminate'' data.


Be The First To Comment