Regular/Supplementary Winter Examination – 2023 Course: B. Tech. Branch : (Electrical Engineering/Electrical & Power/Electrical & Electronics ) Semester : V Subject Code & Name: BTEEC502 Microprocessor and Microcontroller Max Marks: 60 Date: 03/01/2024 Duration: 3 Hr. Instructions to the Students: 1. All the questions are compulsory. 2. Use of non-programmable scientific calculators is allowed. 3. Assume suitable data wherever necessary and mention it clearly. Marks Q. 1 Solve Any Two of the following. 12 A) Draw internal architecture of Microprocessor 8085 with correct arrow notations. 6 B) How is a SIM instruction used to set interrupts? Illustrate with an example. 6 C) Explain following instructions with size, mode of addressing and example: 6 a) LXI H,2500h d) XCHG b) LDA 4000H e) DAD H c) LHLD 4500H f) ANI 05H
Q.2 Solve Any Two of the following. 12
A) Interface 2k RAM with µp 8085 using 1k×8 RAMS. Draw address decoding table 6 with start address and last address of a chip. B) Explain the need of de-multiplexing of AD0-AD7 in the memory interfacing with µp 6 8085. C) What is DMA? Draw and explain pin configuration of DMA IC 8237 in details. 6
Q. 3 Solve Any Two of the following. 12
A) What are the types of digital to analog converter? Explain weighted R-DAC for 6 binary numbers from 000 to 111 with the circuit diagram. B) Write an assembly language program to generate square waveform on CRO using an 6 interfacing IC 8255 with µp 8085. C) Describe the successive approximation method for A/D conversion. 6
Q.4 Solve Any Two of the following. 12
A) Draw the functional block diagram of micro-controller 8051 and explain each block 6 in brief. B) What is program status word register in µc 8051? Draw structure of program status 6 word and explain each flag. C) What are different addressing modes of Microcontroller 8051? Explain with one 6 example.
Q. 5 Solve Any Two of the following. 12
A) Explain following instructions of µc 8051: 6 i) MOV A,#55H ii) ADD A,R2 iii) ORG 0H iv) JZ Label v) CPL A vi) MOVC A, @A+DPTR B) Draw and explain DC motor controller using a Darlington Transistor. 6 C) Write an assembly language program to add the contents of RAM locations 60H, 6 61H and 62H. Store the result in RAM locations 41H (MSB) and 40H (LSB). Assume any suitable input. *** End ***