logo

CuriousTab

CuriousTab

Discussion


Home Digital Electronics The 8051 Microcontroller Comments

  • Question
  • 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

  • Correct Answer
  • True 


  • The 8051 Microcontroller problems


    Search Results


    • 1. The number of data registers is:

    • Options
    • A. 8
    • B. 16
    • C. 32
    • D. 64
    • Discuss
    • 2. 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
    • Discuss
    • 3. 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
    • 4. The total external data memory that can be interfaced to the 8051 is:

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

    • Options
    • A. 1
    • B. 2
    • C. 3
    • D. 4
    • Discuss
    • 6. 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
    • 7. The last 96 locations in the internal data memory are reserved for general-purpose data storage and stack.

    • Options
    • A. True
    • B. False
    • Discuss
    • 8. 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
    • 9. The microcontroller is useful in systems that have nonvariable programs for dedicated applications.

    • Options
    • A. True
    • B. False
    • Discuss
    • 10. The I/O port that does not have a dual-purpose role is:

    • Options
    • A. port 0
    • B. port 1
    • C. port 2
    • D. port 3
    • Discuss


    Comments

    There are no comments.

Enter a new Comment