logo

CuriousTab

CuriousTab

Discussion


Home Digital Electronics The 8051 Microcontroller Comments

  • Question
  • Which of the following statements will add the accumulator and register 3?


  • Options
  • A. ADD @R3, @A
  • B. ADD @A, R3
  • C. ADD R3, A
  • D. ADD A, R3

  • Correct Answer
  • ADD A, R3 


  • The 8051 Microcontroller problems


    Search Results


    • 1. When the 8051 is reset and the EA line is LOW, the program counter points to the first program instruction in the:

    • Options
    • A. internal code memory
    • B. external code memory
    • C. internal data memory
    • D. external data memory
    • Discuss
    • 2. The following command will copy the accumulator to the location whose address is 23H:
      MOV 23H,A

    • Options
    • A. True
    • B. False
    • Discuss
    • 3. An alternate function of port pin P3.0 (RXD) in the 8051 is:

    • Options
    • A. serial port input
    • B. serial port output
    • C. memory write strobe
    • D. memory read strobe
    • Discuss
    • 4. The following command will rotate the 8 bits of the accumulator one position to the left:
      RL A

    • Options
    • A. True
    • B. False
    • Discuss
    • 5. Which of the following commands will copy the contents of location 4H to the accumulator?

    • Options
    • A. MOV A, 04H
    • B. MOV A, L4
    • C. MOV L4, A
    • D. MOV 04H, A
    • Discuss
    • 6. Which of the following instructions will move the contents of the accumulator to register 6?

    • Options
    • A. MOV 6R, A
    • B. MOV R6, A
    • C. MOV A, 6R
    • D. MOV A, R6
    • Discuss
    • 7. The statement LCALL READ passes control to the line labelled READ.

    • Options
    • A. True
    • B. False
    • Discuss
    • 8. Data transfer from I/O to external data memory can only be done with the MOVX command.

    • Options
    • A. True
    • B. False
    • Discuss
    • 9. This program code will be executed continuously:

      STAT: MOV A, #01H
        JNZ STAT

    • Options
    • A. True
    • B. False
    • Discuss
    • 10. A HIGH on which pin resets the 8051 microcontroller?

    • Options
    • A. RESET
    • B. RST
    • C. PSEN
    • D. RSET
    • Discuss


    Comments

    There are no comments.

Enter a new Comment