Differentiate Microprocessor and Microcontroller. A C203.1 2
Differentiate Microprocessor and Microcontroller. A C203.1 2
2. State the function of RS1 and RS0 bits in the flag register of R C203.1 2
Intel 8051 microcontroller.
3. Write a program using 8051 assembly language to change the data AP C203.1 2
55H stored in the lower byte.
of the DPL,
MOV data pointer
#55H register to AAH using rotate instruction.
MOV A, DPL
RL A
Label : SJMP Label
4. Give the alternate functions for the port pins of port3. U C203.1 2
RD WR T1 T0 INT1 INT0 TXD RXD
RD – Read data control output.
WR – Write data control output.
T1 – Timer / Counter1 external input or test pin.
T0 – Timer / Counter0 external input or test pin.
INT1- Interrupt 1 input pin.
INT 0 – Interrupt 0 input pin.
TXD – Transmit data pin for serial port in UART mode.
RXD - Receive data pin for serial port in UART mode.
5. Name the special functions registers available in 8051. U C203.1 2
a. Accumulator
b. B Register
c. Program Status Word.
d. Stack Pointer.
e. Data Pointer.
f. Port 0
g. Port 1
h. Port 2
i. Port 3
j. Interrupt priority control register.
k. Interrupt enable control register.