Microprocessor - Jun 2013
Electronics & Communication (Semester 6)
TOTAL MARKS: 100
TOTAL TIME: 3 HOURS (1) Question 1 is compulsory.
(2) Attempt any four from the remaining questions.
(3) Assume data wherever required.
(4) Figures to the right indicate full marks. 1 (a) With a neat diagram, explain the CPU architecture of 8086.(8 marks) 1 (b) Define any four addressing modes used in 8086 microprocessor. Identify addressing modes used in each of the following 8086 instructions:
i) MOV BX, 0354H
ii) ADD AL, [BX+04]
iii) MOV AX, [BX+SI]
iv) MOV AX, [BX+SI+04](8 marks) 1 (c) If DS=AB40H, CS=9960H, SS=3B00H, BP=7E74H, SP=0135H, Si=1245H, DI=4356H, then determine physical address of the following instructions:
i) MOV [BP+DI+6], AH
ii) ADD AL, (4 marks) 2 (a) What do you mean by segment override prefix? Give an example.(4 marks) 2 (b) Explain the role of AAD and AAM instruction of 8086 microprocessor with an example.(6 marks) 2 (c) Write an assembly level language program to sort the numbers in ascending order using Bubble sorting technique. The program should be written using assembler Directives.(10 marks) 3 (a) What are Assembler Directives? Explain the following directives with an example for each:
ii) PUBLIC and EXTRN
iv) ALIGN 16(9 marks) 3 (b) Write an ALP to search a given character in the array of characters using string instructions. What is the role of SL. DI register and DF bit?(5 marks) 3 (c) Write an ALP to read a string from the keyboard and display the reversed string on the monitor screen.(6 marks) 4 (a) Define interrupts. Explain TYPE0, TYPE1, TYPE2, TYPE3 and TYPE4 interrupts.(6 marks) 4 (b) Explain hardware interrupts of 8086 microprocessor.(4 marks) 4 (c) Differentiate macros and procedures.(4 marks) 4 (d) Write a macro to read a character without echo and to read a string of characters from the keyboard.(6 marks) 5 (a) Define Stepper motor. Explain the interfacing of a stepper motor to 8086 microprocessor with necessary circuit diagram. Write an ALP to rotate the stepper motor clockwise by n steps and anticlockwise by m steps.(10 marks) 5 (b) Interface 4×4 keyboard to 8086 microprocessor using 8255. Write the necessary circuit diagram and an ALP.(10 marks) 6 (a) What are the functions of following 8087 instructions? Explain
v) FYL2XP1(10 marks) 6 (b) Write a program using 8087 instructions to compute the volume of the sphere using MASM syntax.(6 marks) 6 (c) Explain the control register format of 8087.(4 marks) 7 (a) With a neat diagram, explain the maximum mode operation of 8086.(8 marks) 7 (b) What are the characteristics of PCI and USB interface?(6 marks) 7 (c) Interface Printer 8086 processor with relevant signals of importance. Explain using a flowchart.(6 marks)
Write short notes for the following:
8 (a) 80386 special registers(6 marks) 8 (b) Salient features of 80486 processor(6 marks) 8 (c) Pentium CPU architecture.(8 marks)