logo

CuriousTab

CuriousTab

The 8051 Microcontroller problems


  • 1. This program code will be executed once:

    STAT: MOV A, #01H
      JNZ STAT

  • Options
  • A. True
  • B. False
  • Discuss
  • 2. The following program will cause the 8051 to be stuck in a loop:

    LOOP: MOV A, #00H
      JNZ LOOP

  • Options
  • A. True
  • B. False
  • Discuss
  • 3. MOV A, @ R1 will:

  • Options
  • A. copy R1 to the accumulator
  • B. copy the accumulator to R1
  • C. copy the contents of memory whose address is in R1 to the accumulator
  • D. copy the accumulator to the contents of memory whose address is in R1
  • Discuss
  • 4. Data transfer from I/O to external data memory can only be done with the MOV command.

  • Options
  • A. True
  • B. False
  • Discuss
  • 5. The total amount of external code memory that can be interfaced to the 8051 is:

  • Options
  • A. 32K
  • B. 64K
  • C. 128K
  • D. 256K
  • Discuss
  • 6. The special function registers are maintained in the next 128 locations after the general-purpose data storage and stack.

  • Options
  • A. True
  • B. False
  • Discuss
  • 7. When the 8051 is reset and the Digital Electronics The 8051 Microcontroller: When the 8051 is reset and the line is HIGH, the program counter points to the first program instruction in the:

  • Options
  • A. internal code memory
  • B. external code memory
  • C. internal data memory
  • D. external data memory
  • Discuss
  • 8. Both registers TL0 and TL1 are needed to start Timer 0.

  • Options
  • A. True
  • B. False
  • Discuss
  • 9. Microcontrollers often have:

  • Options
  • A. CPUs
  • B. RAM
  • C. ROM
  • D. all of the above
  • Discuss
  • 10. 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

First 2 3 4 5 6 7