Match List I with List II: List I (Communication Mode) List II (Features) High speed; 8-bit shift register; one baud rate of f/12 Multiprocessor 9-bit UART; two baud rates of f/32 and f/64 Choose the correct answer from the options given below:(A) Mode 0 (I) (B) Mode 1 (II) Standard 8-bit UART; variable baud rate using time 1 overflows (C) Mode 2 (III) Multiprocessor 9-bit UART: variable baud rate using time 1 overflows (D) Mode 3 (IV)
(A) - (I), (B) - (II), (C) - (IV), (D) - (III)
The 8051 microcontroller has a built-in serial communication port that can operate in four different modes. These modes offer varying features in terms of data format, baud rate generation, and functionality like multiprocessor communication. Let's analyze the features of each mode to correctly match them with the descriptions provided in List II.
List I presents the four communication modes of the 8051, and List II provides their features. We need to match each mode to its correct description.
| List I (Communication Mode) | List II (Features) |
|---|---|
| (A) Mode 0 | (I) High speed; 8-bit shift register; one baud rate of f/12 |
| (B) Mode 1 | (II) Standard 8-bit UART; variable baud rate using timer 1 overflows |
| (C) Mode 2 | (III) Multiprocessor 9-bit UART: variable baud rate using timer 1 overflows |
| (D) Mode 3 | (IV) Multiprocessor 9-bit UART; two baud rates of f/32 and f/64 |
| Mode | Data Format | Baud Rate Source | Baud Rate(s) | Typical Use |
|---|---|---|---|---|
| Mode 0 | 8-bit shift register | System clock / 12 | \( f/12 \) | High-speed digital I/O expansion |
| Mode 1 | 10 bits (Start + 8 data + Stop) | Timer 1 overflow | Variable (Timer 1 & SMOD) | Standard UART communication |
| Mode 2 | 11 bits (Start + 9 data + Stop) | System clock / 32 or 64 | \( f/32 \) or \( f/64 \) (controlled by SMOD) | Multiprocessor communication |
| Mode 3 | 11 bits (Start + 9 data + Stop) | Timer 1 overflow | Variable (Timer 1 & SMOD) | Multiprocessor communication |
The operation of the 8051 serial port is controlled by the Special Function Register (SFR) called SCON (Serial Control). The SM0 and SM1 bits in SCON determine the communication mode:
The PCON register also influences the serial port, particularly the SMOD bit. If SMOD is set (SMOD=1), the baud rate in Mode 2 is doubled (from \( f/64 \) to \( f/32 \)). In Modes 1 and 3, SMOD doubles the Timer 1 overflow rate used for baud rate generation.
In Modes 1 and 3, Timer 1 is commonly used in 8-bit auto-reload mode (Mode 2 for Timer 1) to generate the baud rate. The reload value (TH1) is calculated based on the desired baud rate, the system clock frequency, and the state of the SMOD bit.
Which of the following is/are NOT processor control instructions?
A. STC
B. CMC
C. JNO
D. NOP
E. CWD
Choose the correct answer from the options given below:
Which flag of 8051 works as 1-bit accumulator ?
Read the following statements :
ST 1 : Queue is provided in 8086.
ST 2 : Slow memory does not degrade speed operation of 8086.
Assertion (A) : Any program written for 8080 will run without any changes on 8085.
Reason (R) : Any program written for 8086 will run without changes on 8085.
How many conditional flags are there in the program status word register (psw) in the microcontroller 8051 ?