logo

CuriousTab

CuriousTab

Discussion


Home Digital Electronics The 8051 Microcontroller Comments

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

  • Correct Answer
  • port 1 


  • The 8051 Microcontroller problems


    Search Results


    • 1. The microcontroller is useful in systems that have nonvariable programs for dedicated applications.

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

    • Options
    • A. True
    • B. False
    • Discuss
    • 4. 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
    • 5. 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
    • 6. An alternate function of port pin P3.1 in the 8051 is:

    • Options
    • A. serial port input
    • B. serial port output
    • C. memory write strobe
    • D. memory read strobe
    • Discuss
    • 7. The internal RAM memory of the 8051 is:

    • Options
    • A. 32 bytes
    • B. 64 bytes
    • C. 128 bytes
    • D. 256 bytes
    • Discuss
    • 8. Which of the following commands will copy the contents of RAM whose address is in register 0 to port 1?

    • Options
    • A. MOV @ P1, R0
    • B. MOV @ R0, P1
    • C. MOV P1, @ R0
    • D. MOV P1, R0
    • Discuss
    • 9. Which of the following instructions will load the value 35H into the high byte of timer 0?

    • Options
    • A. MOV TH0, #35H
    • B. MOV TH0, 35H
    • C. MOV T0, #35H
    • D. MOV T0, 35H
    • Discuss
    • 10. The ADC0804 has ________ resolution.

    • Options
    • A. 4-bit
    • B. 8-bit
    • C. 16-bit
    • D. 32-bit
    • Discuss


    Comments

    There are no comments.

Enter a new Comment