logo

CuriousTab

CuriousTab

Discussion


Home Digital Electronics The 8051 Microcontroller Comments

  • Question
  • Which of the following commands will move the value at port 3 to register 2?


  • Options
  • A. MOV P2, R3
  • B. MOV R3, P2
  • C. MOV 3P, R2
  • D. MOV R2, P3

  • Correct Answer
  • MOV R2, P3 


  • The 8051 Microcontroller problems


    Search Results


    • 1. What is the difference between the 8031 and the 8051?

    • Options
    • A. The 8031 has no interrupts.
    • B. The 8031 is ROM-less.
    • C. The 8051 is ROM-less.
    • D. The 8051 has 64 bytes more memory.
    • Discuss
    • 2. The total external data memory that can be interfaced to the 8051 is:

    • Options
    • A. 32K
    • B. 64K
    • C. 128K
    • D. 256K
    • Discuss
    • 3. The 8051 has ________ 16-bit counter/timers.

    • Options
    • A. 1
    • B. 2
    • C. 3
    • D. 4
    • Discuss
    • 4. An alternate function of port pin P3.4 in the 8051 is:

    • Options
    • A. Timer 0
    • B. Timer 1
    • C. interrupt 0
    • D. interrupt 1
    • Discuss
    • 5. Microcontrollers often have:

    • Options
    • A. CPUs
    • B. RAM
    • C. ROM
    • D. all of the above
    • Discuss
    • 6. The number of data registers is:

    • Options
    • A. 8
    • B. 16
    • C. 32
    • D. 64
    • Discuss
    • 7. The following program will receive data from port 1, determine whether bit 2 is high, and then send the number FFH to port 3:
      READ: MOV A,P1
      ANL A,#2H
      CJNE A,#02H,READ
      MOV P3,#FFH

    • Options
    • A. True
    • B. False
    • Discuss
    • 8. The contents of the accumulator after this operation
      MOV A,#0BH
      ANL A,#2CH
      will be

    • Options
    • A. 11010111
    • B. 11011010
    • C. 00001000
    • D. 00101000
    • Discuss
    • 9. The last 96 locations in the internal data memory are reserved for general-purpose data storage and stack.

    • Options
    • A. True
    • B. False
    • Discuss
    • 10. The contents of the accumulator after this operation
      MOV A,#2BH
      ORL A,00H
      will be:

    • Options
    • A. 1B H
    • B. 2B H
    • C. 3B H
    • D. 4B H
    • Discuss


    Comments

    There are no comments.

Enter a new Comment