Page 57 - DCAP210_INTRODUCTION__TO_MICROPROCESSORS
P. 57

Unit 3: Assembly Language Programming of 8085


             4. ........................... is generally used when an error occurs in a program and an instruction  Notes
                needs to be eliminated.
                (a) HLT                           (b) OUT
                (c) MVI                           (d) NOP
             5. Which of the following instructions can only load data into Accumulator

                (a) IN                            (b) OUT
                (c) LOAD                          (d) MVI
             6. The ........................... instructions specify the memory location explicitly.
                (a) NOP                           (b) jump
                (c) go to                         (d) continue

            3.9 Review Questions


             1.  Discuss the 8085 Programming Model.
             2. Explain in detail the branching operations.
             3. With example explain different groups of instruction sets.

             4. Write an 8085 assembly language program to perform 32-bit binary addition.
             5. What will be the value in ACC, for the given 8085 program below?
               MVI C, 7F
               MVI B, 3E
               MOV A, B
               RLC
               RLC
               ANI 7F
               HLT

             6. Write an 8085 assembly language program to fill a block of 1000  bytes starting at address
                                                                   H
               9000  with characters 2B .
                   H               H
             7. Indicate the logic levels on each control or status pin as logic ‘0’ or logic ‘1’ for 8085
               microprocessor with the given data below:

                  Machine cycle          RD        WR       IO/M        S         S
                                                                         0         1
                  Memory write
                  Memory read

                  I/O read
                  I/O write
                  O/P code fetch

             8. Explain the different data format.
             9. Describe the instruction format in detail.

            10. With suitable examples, explain the addressing modes of 8085.





                                             LOVELY PROFESSIONAL UNIVERSITY                                    51
   52   53   54   55   56   57   58   59   60   61   62