Posts

Showing posts from July, 2008

II BCA Questions

Answer the following questions 1 to 6 Program: 2100 H contents 42 H 2101 H contents 46 H LHLD 2100 XCHG HLT 1. What is the content of H Register before XCHG? 2. What is the content of L Register before XCHG? 3. What is the content of accumulator? 4. What is the content of D Register after the program is executed? 5. What is the content of DE pair at the end? 6. What is the content of HL pair after the program is executed? For questions 7 to 9 refer the following program MVI A,85 H XRA A DAA HLT 7. The content of accumulator at the end is______________ 8. If XRA A is replaced by ORA A then the content of accumulator _____ 9. If DAA is replaced by ORA A then the content of accumulator will be given by__