Microprocessors - Dec 2014
Computer Science Engg. (Semester 4)
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) Write any four differences between real and protected mode memory system.(4 marks) 1 (b) Explain real mode memory system of a personal computer system.(6 marks) 1 (c) Explain briefly the programming model of 8086 through core-2 microprocessor.(10 marks) 2 (a) What is paging? Explain the paging mechanism used in 80386 through core-2 microprocessors.(8 marks) 2 (b) Explain with examples, the various data related addressing modes.(8 marks) 2 (c) For DS=1200h, DI=2024h, ARRAY=0012h, BX=1012h, find the physical address for the following instructions.
i) MOV AL, ARRAY [BX]
ii) MOV AL, ARRAY [BX][DI].(4 marks) 3 (a) Describe the operation of the following instructions with examples:
iv) IMUL(8 marks) 3 (b) Write the machine code for the following instructions:
i) MOV BP, SP
ii) MOV WORD PTR [BX+1000h], 1234h.(8 marks) 3 (c) Explain the following assembler directives with examples:
ii) PTR(4 marks) 4 (a) With format explain rotate instructions. Give examples to rotate right by 2-bit and rotate left by 4-bits(6 marks) 4 (b) Explain the following statements to control the flow of the program, with examples:
iii) ·WHITE-·ENDW.(6 marks) 4 (c) Explain the sequence of operation that takes place during the execution of CALL and RET instructions. Mention the differences between:
i) near and far procedures
ii) procedures and macros.(8 marks) 5 (a) Write an 8086 ALP to find the factorial of a given number using recursive procedures.(6 marks) 5 (b) Write a mixed ALP with 'C' to perform a simple calculator operations.(10 marks) 5 (c) Write an 8086 ALP to convert the given binary number into its equivalent unpacked decimal and ASCII.(4 marks) 6 (a) Explain the following pin functions of 8086 microprocessor:
iv) NMI(8 marks) 6 (b) With a neat diagram, explain the minimum mode system of 8086 microprocessor.(7 marks) 6 (c) Explain the timing diagram of read operation in 8086 microprocessor.(5 marks) 7 (a) How 8086 microprocessor selects 8-bits or 16-bits data from odd or even memory banks?(4 marks) 7 (b) Interface 8K×8 ROM and 4K×8 RAM to 8086 microprocessor. Assume that the starting address for ROM is 40000h and that for RAM is 44000h.(10 marks) 7 (c) Mention the differences between memory mapped I/O and Isolated I/O.(6 marks) 8 (a) With a neat block diagram, explain 82C55 PPI. Write the control words for
i) PORT A input, PORT B output and PORT C output
ii) PORT A output, PORT B input, and PORT C input in simple I/O mode.(8 marks) 8 (b) With a neat diagram, explain 8254 PIT.(6 marks) 8 (c) Explain briefly the interrupt vector table of 8086 microprocessor.(6 marks)