Você está na página 1de 18

1.

The internal RAM memory of the 8051 is: A. B. C. D. 32 bytes 64 bytes 128 bytes 256 bytes

Answer & Explanation

Answer: Option C Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum 2.

This program code will be executed continuously: STAT: MOV A, #01H JNZ STAT A. True B. False

Answer & Explanation

Answer: Option A Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum 3.

The 8051 has ________ 16-bit counter/timers. A. C. 1 3 B. D. 2 4

Answer & Explanation

Answer: Option B Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

4.

The address space of the 8051 is divided into four distinct areas: internal data, external data, internal code, and external code. A. True B. False

Answer & Explanation

Answer: Option A Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum 5.

Data transfer from I/O to external data memory can only be done with the MOVX command. A. True B. False

Answer & Explanation

Answer: Option A Explanation: 6. The 8051 can handle ________ interrupt sources. A. C. 3 5 B. D. 4 6

Answer & Explanation

Answer: Option C Explanation: There are five interrupt sources for the 8051, which means that they can recognize 5 different events that can interrupt regular program execution. Each interrupt can be enabled or disabled by setting bits of the IE register. Likewise, the whole interrupt system can be disabled by clearing the EA bit of the same register. View Answer Workspace Report Discuss in Forum

7.

The special function registers are maintained in the next 128 locations after the generalpurpose data storage and stack. A. True B. False

Answer & Explanation

Answer: Option A Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

8.

This statement will set the address of the bit to 1 (8051 Micro-controller): SETB 01H A. True B. False

Answer & Explanation

Answer: Option B Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

9.

MOV A, @ R1 will: A. B. C. D. copy R1 to the accumulator copy the accumulator to R1 copy the contents of memory whose address is in R1 to the accumulator copy the accumulator to the contents of memory whose address is in R1

Answer & Explanation

Answer: Option C Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

10. A label is used to name a single line of code.

A.

True

B.

False

Answer & Explanation

Answer: Option A Explanation: No answer description available for this ques 11. 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 A. True B. False

Answer & Explanation

Answer: Option A Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum 12. Device pins XTAL1 and XTAL2 for the 8051 are used for connections to an external oscillator or crystal. A. True B. False

Answer & Explanation

Answer: Option A Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

13.

When the 8051 is reset and the program instruction in the: A. B. C. internal code memory external code memory internal data memory

line is HIGH, the program counter points to the first

D.

external data memory

Answer & Explanation

Answer: Option A Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

14. An alternate function of port pin P3.4 in the 8051 is: A. B. C. D. Timer 0 Timer 1 interrupt 0 interrupt 1

Answer & Explanation

Answer: Option A Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

15. Both registers TL0 and TL1 are needed to start Timer 0. A. True B. False

Answer & Explanation

Answer: Option B 16. The I/O ports that are used as address and data for external memory are: A. B. C. D. ports 1 and 2 ports 1 and 3 ports 0 and 2 ports 0 and 3

Answer & Explanation

Answer: Option C Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum 17. The last 96 locations in the internal data memory are reserved for general-purpose data storage and stack. A. True B. False

Answer & Explanation

Answer: Option B Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

18. Microcontrollers often have: A. B. C. D. CPUs RAM ROM all of the above

Answer & Explanation

Answer: Option D Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

19. The 8051 has ________ parallel I/O ports. A. C. 2 4 B. D. 3 5

Answer & Explanation

Answer: Option C Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

20. The total external data memory that can be interfaced to the 8051 is: A. C. 32K 128K B. D. 64K 256K

Answer & Explanation

Answer: Option B Explanation: No answer description avail 21. Which of the following instructions will load the value 35H into the high byte of timer 0? A. B. C. D. MOV TH0, #35H MOV TH0, 35H MOV T0, #35H MOV T0, 35H

Answer & Explanation

Answer: Option A Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum 22. Bit-addressable memory locations are: A. B. C. 10H through 1FH 20H through 2FH 30H through 3FH

D.

40H through 4FH

Answer & Explanation

Answer: Option B Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

23. The 8-bit address bus allows access to an address range of: A. B. C. D. 0000 to FFFFH 000 to FFFH 00 to FFH 0 to FH

Answer & Explanation

Answer: Option C Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

24. The contents of the accumulator after this operation MOV A,#0BH ANL A,#2CH will be A. C. 11010111 00001000 B. D. 11011010 00101000

Answer & Explanation

Answer: Option C Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

25. The start-conversion on the ADC0804 is done by using the: A. B. C. D. CS line INTR line V line

ref/2

Answer & Explanation

Answer: Option A 26. This program code will be executed once: STAT: MOV A, #01H JNZ STAT A. True B. False

Answer & Explanation

Answer: Option B Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum 27. Which of the following instructions will move the contents of register 3 to the accumulator? A. B. C. D. MOV 3R, A MOV R3, A MOV A, R3 MOV A, 3R

Answer & Explanation

Answer: Option C Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

28. Which of the following statements will add the accumulator to register 3?

A. B. C. D.

ADD @R3, @A ADD @A, R3 ADD R3, A ADD A, R3

Answer & Explanation

Answer: Option C Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

29. Data transfer from I/O to external data memory can only be done with the MOV command. A. True B. False

Answer & Explanation

Answer: Option B Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

30. Which of the following commands will move the number 27H into the accumulator? A. B. C. D. MOV A, P27 MOV A, #27H MOV A, 27H MOV A, @27

Answer & Explanation

Answer: Option B 31. 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 A. True B. False

Answer & Explanation

Answer: Option A Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum 32. Which of the following commands will move the value at port 3 to register 2? A. B. C. D. MOV P2, R3 MOV R3, P2 MOV 3P, R2 MOV R2, P3

Answer & Explanation

Answer: Option D Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

33. The number of data registers is: A. C. 8 32 B. D. 16 64

Answer & Explanation

Answer: Option C Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

34. The end-of-conversion on the ADC0804 is done by using the:

A. B. C. D. CS line INTR line V line

ref/2

Answer & Explanation

Answer: Option A Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

35. When the 8051 is reset and the EA line is LOW, the program counter points to the first program instruction in the: A. B. C. D. internal code memory external code memory internal data memory external data memory

Answer & Explanation

Answer: Option B 36. The designs of a centigrade thermometer and a PWM speed-control circuit can be implemented by the 8051. A. True B. False

Answer & Explanation

Answer: Option A Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum 37. What is the difference between the 8031 and the 8051? A. The 8031 has no interrupts.

B. C. D.

The 8031 is ROM-less. The 8051 is ROM-less. The 8051 has 64 bytes more memory.

Answer & Explanation

Answer: Option B Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

38. The I/O port that does not have a dual-purpose role is: A. B. C. D. port 0 port 1 port 2 port 3

Answer & Explanation

Answer: Option B Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

39. To interface external EPROM memory for applications, it is necessary to demultiplex the address/data lines of the 8051. A. True B. False

Answer & Explanation

Answer: Option A Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

40. The following command will copy the accumulator to the location whose address is 23H: MOV 23H,A A. True B. False

Answer & Explanation

Answer: Option A Explanation: 41. The special function registers can be referred to by their hex addresses or by their register names. A. True B. False

Answer & Explanation

Answer: Option A Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum 42. The contents of the accumulator after this operation MOV A,#2BH ORL A,00H will be: A. B. C. D. 1B H 2B H 3B H 4B H

Answer & Explanation

Answer: Option B Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

43. The following program will cause the 8051 to be stuck in a loop: LOOP: MOV A, #00H

JNZ LOP A. True B. False

Answer & Explanation

Answer: Option B Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

44. Which of the following commands will copy the contents of RAM whose address is in register 0 to port 1? A. B. C. D. MOV @ P1, R0 MOV @ R0, P1 MOV P1, @ R0 MOV P1, R0

Answer & Explanation

Answer: Option C Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

45. The statement CALL READ passes control to the line labelled READ. A. True B. False

Answer & Explanation

Answer: Option A 46. Which of the following commands will copy the contents of location 4H to the accumulator? A. B. C. D. MOV A, 04H MOV A, L4 MOV L4, A MOV 04H, A

Answer & Explanation

Answer: Option A Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum 47. The microcontroller is useful in systems that have nonvariable programs for dedicated applications. A. True B. False

Answer & Explanation

Answer: Option A Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

48. The total amount of external code memory that can be interfaced to the 8051 is: A. C. 32K 128K B. D. 64K 256K

Answer & Explanation

Answer: Option B Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

49. The ADC0804 has ________ resolution. A. C. 4-bit 16-bit B. D. 8-bit 32-bit

Answer & Explanation

Answer: Option B Explanation:

No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

50. A HIGH on which pin resets the 8051 microcontroller? A. C. RESET PSEN B. D. RST RSET

Answer & Explanation

Answer: Option B 51. An alternate function of port pin P3.1 in the 8051 is: A. B. C. D. serial port input serial port output memory write strobe memory read strobe

Answer & Explanation

Answer: Option B Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum 52. Which of the following instructions will move the contents of the accumulator to register 6? A. B. C. D. MOV 6R, A MOV R6, A MOV A, 6R MOV A, R6

Answer & Explanation

Answer: Option B Explanation: No answer description available for this question. Let us discuss.

View Answer Workspace Report Discuss in Forum

53. The following command will rotate the 8 bits of the accumulator one position to the left: RL A A. True B. False

Answer & Explanation

Answer: Option A Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

54. An alternate function of port pin P3.0 (RXD) in the 8051 is: A. B. C. D. serial port input serial port output memory write strobe memory read strobe

Answer & Explanation

Answer: Option A Explanation: No answer description available for this question. Let us discuss. View Answer Workspace Report Discuss in Forum

Você também pode gostar