Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Define :

(i) Address bus


(ii) Data bus
(f) Identify the addressing mode of the instruction :
(i) MOVX@Ro, A
(ii) CJNE A, # data, relDefine :
List any eight features of microcontroller 8051.
Explain any four addressing modes of microcontroller with one example each.
Explain different program development steps in assembly language programming.
Compare between Harvard and Von-Neumann architecture. (any four points)
Draw and explain the flag register of 8051 microcontroller.
(a) Explain with neat diagram microcontroller based water level controller.
(b) Develop an ALP to generate square wave of 1 kHz at port pin 1.4. Draw
flowchart for it.
(c) Draw architecture of 8051 microcontroller.
(a) Explain power saving options :
(i) Idle mode
(ii) Power down mode
(b) Develop an ALP for interfacing of LEDs with port 1 of 8051. Draw
interfacing for the same.
Draw block diagram of internal architecture of 8051 and explain function of
each block.
(b) Develope ALP to transfer seven number from internal memory location 20 H
to 40 H.
(c) Draw interfacing diagram of 7 segment display with 8051. Write ALP to
display number from 0 to 9.
Describe the memory organization of 8051 microcontroller.
(c) Draw a interfacing diagram of stepper motor with 8051. Write ALP to rotate
stepper motor in clockwise direction.
Draw pin diagram of 8051 and explain function of pin 9, pin 20, 40.
(d) Which pins of 8051 are used to perform the following function :
(i) Receive the serial data
(ii) Enable External memory interface.
(iii) Multiplexing & De-multiplexing of address / data lines.
(iv) Applying External interrupts.
(e) List addressing mode of 8051 with one example of each.
Compare between Micro-processor & Micro controller. (4 points)
(c) Evaluate the following program and specify the content of accumulator and
status of PSW Register after execution :
MOV A, # 23 H
MOV OF OH, # 02 H
MUL AB
END.
(d) Draw the interfacing diagram of 8 LED connected to port 2 of 8051. Write a
program to toggle LED after some delay.
Explain assemble directives
(i) DB (ii) EQU
(f) Explain PUSH instruction with one example.
(g) State the function of LCD display pins.
(i) R/W (ii) RS
Explain any four addressing modes of 8051 microcontroller with one example
each.
(b) Interface stepper motor to 8051 microcontroller and write an ALP to rotate
stepper motor in Anti-clockwise direction continuously.
(d) Draw memory organization for
E A = 0 and E A = 1 and explain the same.
Explain the following instruction :
(i) DAA
(ii) DIV AB
(iii) CJNE A, data, rel
(iv) SWAP A
(b) Compare between Harvard and Von-Neuman architecture (Any four points).
What are the alternate function of port 3 of 8051 micro-controller ?
(a) Interface 8 LED’s with port 1 of 8051 micro-controller. Write ALP to make
LED’s ON and OFF after 10 msec. delays. Assume suitable data.
(b) Develop an ALP to arrange ten numbers stored in internal memory locations
starting from 40H location in descending order.
(c) Draw Architecture of 8051 micro-controller.
a) Explain power saving options
(i) Idle mode
(ii) Power down mode
(b) Draw interfacing diagram of 8K x 8 program ROM with 8051 and also write
memory map for the same.
Identify direct addressing instructions from following instructions :
(i) MOV R0, R5
(ii) MOV R0, 80 H
(iii) MOV R0, #75H
(iv) ADD A, 45 H

(f) If initial content of accumulator is 44 H, find out the new content of


accumulator after execution of the instruction RR A
(g) Find out number of data lines required to interface 16 LEDs arrange in the
4 x 4 matrix form.
(a) List out any four assembler directives and state their functions.
(b) Sketch diagram showing interfacing of two chips of RAM having size 2k 8
to 8051 microcontroller. Write its memory map.
(b) List out three types of buses. State their functions.
(a) List out features of any four addressing modes of 8051.
(b) With the help of PCON register, explain Power down mode and Idle mode of
8051.
(e) Compare microprocessor with microcontroller on the basis of any four factors.
(a) Explain with neat diagram microcontroller based water level controller.
(b) Develop ALP for 8051 to perform addition, anding, multiplication of two
data – Data-1 is at memory location 55 H and Data 2 is 20 H. Store result at
internal memory locations.
(c) Explain internal and external memory organisation of 8051.

(a) Explain functions of all pins of Port 0, Port 1, Port 2 and Port 3.
(b) Sketch diagram showing interfacing of single 7-segment common Anode
display to 8051. Develop ALP to display number ‘7ְ’ on it.

(e) Identify the addressing mode of the instruction: MOV A, @R0 and DJNZ Rn,
rel
(f) Demonstrate with example the function of EQU directive.
(g) Find the number of address lines required for:
1. 2K RAM
2. 16K ROM
(a) List the various stages in software development cycle and explain importance
of each
stage.
(b) Interface Steeper motor to 8051 and write an ALP to rotate Stepper motor in
clockwise direction.
(c) Draw the architecture of 8051 and label various blocks .
(d) (a) Explain the meaning of following instructions:
1. MOV A , FOH
2. ADD A , R 4
3. SWAP A
4. CJNE R1 , #data , rel
(b) Execute the following program and specify the contents of Accumulator and
status of
PSW after execution :
MOV A, #23H
MOV 0F0H, #02H
MUL AB
END
(e) Which pins of 8051 are used to perform the following functions:
1. Receive the serial data
2. Enable of external memory.
3. Multiplexing and de-multiplexing of address/ data lines.
4. Applying external interrupts
Develop an ALP to generate a square wave with ON time of 7 msec and OFF
time of 3 msec.
(b) Write an ALP to find average of ten, 8 bit numbers stored in internal memory
location starting from 40H and store the result in 70 H location.
(c) Explain the various power saving options of 8051.
a) Identify the special function registers(SFR ) to do the following:
1. Change the priorities of various interrupts in 8051.
2. Enabling and disabling of various interrupts in 8051.
Explain bit functions of each bit of these SFRs.
b) Develop an ALP to turn ON/OFF the relay. Draw suitable interfacing diagram
(a) List the functions of address and Data Bus.
(b) Classify the following applications under Von-Neuman and Harvard
Architecture:
i. Digital Signal Processing.
ii. 8051 Micro controller
(c) Illustrate the functions of Editor and Complier.
(d) List the alternate functions of Port 3 of 8051.
(e) Calculate size of memory if number of address lines for a memory chips are 12
and
data bus width is of 8 bit
(f) List any four addressing modes of 8051 with one example of each,
a) Develop an ALP to find the largest number out of ten numbers stored from
internal
memory location 60H onwards and store the result at 70H memory location.
b) Draw an interfacing diagram of 8 LEDs connected to port 2 of 8051 and write
a
program to toggle LEDs after 100 msec delay.
c) Compare microcontroller with microprocessor on the basis of any four factors.
d) Draw the interfacing diagram of Traffic light controller with 8051.

You might also like