0% found this document useful (0 votes)
63 views

Sample Question Paper

This document contains a model question paper for the Microprocessor and Interfacing course. It has 10 questions assessing various topics related to 8086 and 8051 microcontrollers. The questions cover topics such as 8086 signals, instructions, addressing modes, interfacing memory and peripherals, timers, bus structures, stacks, and serial communication. Students are required to write assembly language programs, draw flowcharts, explain concepts, and interface hardware as per given specifications. The total marks for the paper are 100.

Uploaded by

SaI dHaKsHan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views

Sample Question Paper

This document contains a model question paper for the Microprocessor and Interfacing course. It has 10 questions assessing various topics related to 8086 and 8051 microcontrollers. The questions cover topics such as 8086 signals, instructions, addressing modes, interfacing memory and peripherals, timers, bus structures, stacks, and serial communication. Students are required to write assembly language programs, draw flowcharts, explain concepts, and interface hardware as per given specifications. The total marks for the paper are 100.

Uploaded by

SaI dHaKsHan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Reg. No.

:
Name :

Model QP
Programme : B.Tech(ECE & ECM) Semester :
Course : Microprocessor and Interfacing Code : BECE204L
Faculty : Slot
Time : 3 Hours Max. Marks : 100
Class Nbr

Answer ALL Questions

Sub.
Q.No. Question Description Marks
Sec.
1. a. Explain the function of the following signals of 8086 6
(i) ̅̅̅̅̅̅̅
LOCK (ii) ̅̅̅̅̅̅̅
TEST (iii) MN/MX̅̅̅̅ (iv) BHE ̅̅̅
̅̅̅̅̅̅ (v) READY (vi) M/IO

b. State whether the following instructions are permitted or not and comment on them 4
(i) MOV AX, DL (ii) DIV BL (iii) MOV [SI], [DI]
(iv) MOV AX, [SI] (v) MOV 55H, AL (vi) ADD 5779H, AX
(vii) ADD AX, 5779H (viii) AND DS, ES

2. Write an 8086 ALP with necessary flow chart to calculate squares of BCD numbers from 10
0 to 9 and store them sequentially from 4000H offset onwards in the current data
segment. The numbers and their squares are in the BCD format. Use a subroutine for the
calculation of the square of a number

3. State different techniques to pass input data/parameter to procedures in assembly 10


language program and illustrate the same with examples.

4. Write an 8086 ALP to create a file called DATA and store in it 100 bytes from memory 10
block starting at 2000:2000, if either an interrupt appears at INTR pin with Type 0AH or
an instruction equivalent to the above interrupt is executed. Also draw necessary flow
chart.

5. It is required to interface two chips of 32K X 8 ROM and four chips of 32K X 8 RAM 10
with 8086 according to the following map
ROM 1 and ROM 2 F0000H - FFFFFH,
RAM 1 and RAM 2 D0000H - DFFFFH
RAM 3 and RAM 4 E0000H - EFFFFH
Show the implementation of this memory system.

6 Design a programmable timer using 8253 and 8086. Interface 8253 at an address 0050H 10
for counter 0 and write the following ALPs. The 8086 and 8253 run at 6 MHz and 2
MHz respectively.
(i) To generate a square wave of period 5 ms
(ii) To interrupt the processor after 10 ms

7. Discuss the bus structure of 8051 microcontroller to perform various operations. 10

Page 1 of 3
8. Show the stack and stack pointer for each line of the following program for 8051. 10
MOV SP,#70H
MOV R5,#66H
MOV R2,#7FH
MOV R7,#5DH
PUSH 5
PUSH 2
PUSH 7
CLR A
MOV R2,A
MOV R7,A
POP 7
POP 2
POP 5
9. Assume that there is an inter college sports competition between five colleges in VIT 10
and their final scores are stored in memory location starting from 40H.Write an assembly
language program for 8051 to find out the winner of the competition and store the score
of the winner in the memory location 70H.
10. a. Write an 8051 assembly language program to transfer “YOU” serially continuously with 10
9600 baud rate. Assume one start and stop bit for framing the data.

Total Marks [100]



Page 2 of 3
Page 3 of 3

You might also like