logo

CuriousTab

CuriousTab

Discussion


Home Digital Electronics The 8051 Microcontroller Comments

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

  • Correct Answer
  • 2B H 


  • The 8051 Microcontroller problems


    Search Results


    • 1. The last 96 locations in the internal data memory are reserved for general-purpose data storage and stack.

    • Options
    • A. True
    • B. False
    • Discuss
    • 2. 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
    • 3. 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
    • 4. The number of data registers is:

    • Options
    • A. 8
    • B. 16
    • C. 32
    • D. 64
    • Discuss
    • 5. 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
    • 6. The microcontroller is useful in systems that have nonvariable programs for dedicated applications.

    • Options
    • A. True
    • B. False
    • Discuss
    • 7. 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
    • 8. 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
    • 9. The internal RAM memory of the 8051 is:

    • Options
    • A. 32 bytes
    • B. 64 bytes
    • C. 128 bytes
    • D. 256 bytes
    • Discuss
    • 10. 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


    Comments

    There are no comments.

Enter a new Comment