logo

CuriousTab

CuriousTab

Discussion


Home Digital Electronics The 8051 Microcontroller Comments

  • Question
  • This statement will set the address of the bit to 1 (8051 Micro-controller):
    SETB 01H


  • Options
  • A. True
  • B. False

  • Correct Answer
  • False 


  • The 8051 Microcontroller problems


    Search Results


    • 1. Device pins XTAL1 and XTAL2 for the 8051 are used for connections to an external oscillator or crystal.

    • Options
    • A. True
    • B. False
    • Discuss
    • 2. The designs of a centigrade thermometer and a PWM speed-control circuit can be implemented by the 8051.

    • Options
    • A. True
    • B. False
    • Discuss
    • 3. Bit-addressable memory locations are:

    • Options
    • A. 10H through 1FH
    • B. 20H through 2FH
    • C. 30H through 3FH
    • D. 40H through 4FH
    • Discuss
    • 4. The special function registers can be referred to by their hex addresses or by their register names.

    • Options
    • A. True
    • B. False
    • Discuss
    • 5. Which of the following commands will move the number 27H into the accumulator?

    • Options
    • A. MOV A, P27
    • B. MOV A, #27H
    • C. MOV A, 27H
    • D. MOV A, @27
    • Discuss
    • 6. This program code will read data from port 0 and write it to port 2, and it will stop looping when bit 3 of port 2 is set:

      STAT: MOV A, PO
        MOV P2,A
        JNB P2.3, STAT

    • Options
    • A. True
    • B. False
    • Discuss
    • 7. The 8051 can handle ________ interrupt sources.

    • Options
    • A. 3
    • B. 4
    • C. 5
    • D. 6
    • Discuss
    • 8. The 8-bit address bus allows access to an address range of:

    • Options
    • A. 0000 to FFFFH
    • B. 000 to FFFH
    • C. 00 to FFH
    • D. 0 to FH
    • Discuss
    • 9. 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
    • 10. The following command will rotate the 8 bits of the accumulator one position to the left:
      RL A

    • Options
    • A. True
    • B. False
    • Discuss


    Comments

    Avatar
    ganesh ingle
    nice


Enter a new Comment