Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
70 views

Microprocessor and Microcontroller July 2021

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views

Microprocessor and Microcontroller July 2021

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

University Institute of Engineering & Technology

(Recognised Under Section 2(f) and 12B of UGC)


Kurukshetra University, Kurukshetra
TIME – 4 Hrs.
THEORY EXAMINATION – JULY 2021

B.TECH - ECE SEMESTER - IV


M.M. - 75

PAPER - EC-210 SUBJECT- MICROPROCESSORS AND MICROCONTROLLERS

INSTRUCTIONS TO BE FOLLOWED

 The candidates will be required to attempt All questions in Part-A and Part-B (Compulsory Sections).
Attempt any four questions from Part-C selecting at least one from each unit.
 Allotted time for examination is 4 hours that includes time for downloading the question paper, writing
answers, scanning of answer sheets and uploading the sheets on the Attendance Sheet Cum Answer
Sheet Uploading google form.
 The PDF files should be saved as Roll No. and Subject Code.
 Maximum Page Limit should be 36 (Thirty Six) for attempting the question paper on A4 sheets which
could be downloaded and printed from the sample sheets given in the UIET Website.
 Over-attemptation should be avoided.
 Handwriting should be neat and clean and diagrams should be clear and contrasted.
 The candidate should not write their Mobile No. otherwise Unfair Means Case will be made.
 While attempting the paper, the candidate will use blue/black pen only.
 Before attempting the paper, the candidate will ensure that he/she has downloaded the correct question
paper. No complaint for attempting wrong question paper by the candidate will be entertained.
 Candidate must ensure that he/she has put his/her signature on each page of the answer sheet used by
him/her. Answer sheet without the signature of the candidate will not be evaluated.
 Attempt parts A, B & C separately. Do not inter-mix them. Write neatly & mention the question number clearly.
PART-A (15 Marks)

Q. No. – 1 Answer the following questions. 15x1=15

(i) What is Microprocessor and Microcontroller? Draw the general block diagram for each.

(ii) Mention the address capability of 8086 and how many I/O lines can be accessed by 8086?

(iii) If the contents of code segment register is 5500H and the 20-bit physical address is 56200H, then the
contents of IP registers would be.
(iv) If the RESET is set to 1, what would be the contents of code register?

(v) If 0FBC0H is the starting address of 64KB code segment, what would be the ending address?

(vi) ̅̅̅̅̅̅ and A0 to read a word from the memory location 6000CH
What should be the status of the 8086 signal 𝐵𝐻𝐸
in a single bus cycle?
(vii) The number of 16*4 memories required to construct 1024*8 memories are.

(viii) What are the instructions used to start and stop the timers?
(ix) Which SFRs in 8051 are used to control UART operation? How is the baud rate doubled?

(x) Write differences between MOV, MOVX and MOVC.

(xi) A stepper motor has a step angle of 50, the number of pulses required to rotate the motor by 3600 is.

(xii) Which language requires minimum memory for a program? Which files produced by an assembler?

(xiii) Write instructions to increment contents of R5 until it becomes 50H.

(xiv) Write single instruction for 8051


(i). To clear bits 0,2,3,6 of the A.
(ii). Set bits 0, 1, 5 of the contents of the address 20H.
(xv) If IREF=2mA, IREF=2mA and digital input to D/A converter IC0800 is 11000000, the output current of 0800
would be
PART-B (20 Marks)

UNIT-I
2 Draw and explain the pin diagram of 8085. 5
UNIT-II
3 Assume that bit P2.3 is an input and represents the condition of an oven. If it goes high, it means that 5
the oven is hot. Write assembly program to monitor the bit continuously. Whenever it goes high, send
a high-to-low pulse to port P1.5 to turn on the buzzer.
UNIT-III
4(a) Write instruction to (i). Enable timer1 and external interrupt 1 (ii). Disable and enable all interrupt using 2.5*2=5
(b) single instruction.
Program the IP register to assign the highest priority to INT1 (external interrupt 1), then discuss what
happens if TF1, INT1 and TF0 are activated at the same time.
UNIT-IV
5 Interface a 4x4 matrix keyboard with 8051 microcontroller and discuss step by step procedure to detect 5
the key pressed and key identification.
PART-C (40 Marks)

UNIT-I
6 Draw and discuss the architecture of 8086. Explain the various tasks performed by BIU and EU. 10

7 Draw and discuss a typical mode of 8086 system. What is the use of a bus controller in maximum 10
mode?
UNIT-II
8 (a) Draw the pin diagram of 8051 and explain the function of pin no. 29, 30 and 31. 5+5=10
(b) Explain the working of (i). PC, DPTR, A, B and PSW registers (ii). RAM and Clock
9 Discuss the need and uses of timers in microcontroller-based system. Explain function of each bit of 10
TCON and TMOD registers and how these registers are used to control the operation of timer?
UNIT-III
10 Using contents of various registers given below. 5*2=10
Offset(displacement)-4000H,[AX]-1500H,[BX]-1000H,[SI]-2500H,[DI]-3500H,[BP]-4000H,[SP]-
5000H, [CS]-0000H,[DS]-1000H, [SS]-2500H, [IP]-6000H
Form effective addresses for Register relative, Register indirect, Based Indexed, Relative based
Indexed and Direct addressing mode.
11 (a) State the following instructions as valid or invalid. Give reasons. 5+5=10
(i). MOV A,@R5 (ii). MOV R4, R6 (iii). PUSH A (iv). MOV R3, #250H (v). MOV 10H, 30H
(b) Write an ALP to perform multiplication and division of two 8-bit data 21H and 17 H in 8051.

UNIT-IV
12 Draw the schematic, assembly program and interface ADC 0809 with 8086 using 8255ports. Use port 10
A of 8255 for transferring digital data output of ADC to the CPU and port C for control signals.
Assume that an analog input is present at I/P3 of the ADC and a clock input of suitable frequency is
available for ADC.
13 Interface 32KB of EPROM and 64KB of RAM starting at 00000H to 8086. 10

You might also like