VTU Computer Science (Semester 4)
Microprocessor and ARM processors
May 2016
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


1(a) What is microprocessor? Explain how data, address and control busses interconnect various system components.
5 M
1(b) Explain in detail with a neat diagram, the working of the internal architecture of the 8086 microprocessor.
10 M
1(c) Giving the format of the 8086 microprocessor's flag register, explain in detail each flag bit,
5 M

2(a) Explain the following addressing modes with examples:
i) Direct addressing
ii) Immediate addressing
iii) Register indirect addressing
iv) Base plus index addressing
v) Base relative plus index addressing.
10 M
2(b) Explain how virtual address is translated into physical address in 8086 microprocessor. Given :CS = 2000h, DS = 4000h, ES = 6000h, SS = 8000h, BX = 300h, BP = 200h, SI = 100h and List = 0014h
Find the physical address for the following:
MOV DL, LIST [S]
ii) MOV AL, LIST[BX] [SI]
iii) MOV AH, CS : [BX]
iv) MOV CL, 23h [BP].
6 M
2(c) Explain the working of PUSH and POP instructions indicating the state of the stack after the execution of the instructions:
4 M

3(a) Giving the general machine instruction format of a MOV instruction, generate the machine code for the following instructions :
i) MOV DL, [DI]
ii) MOV [1000H], DL
iii) MOV [BP], DL
iv) MOV WORD PTR [BX + 1000H], 1234H.
10 M
3(b) Write an ALP to sort five 8bit numbers stored in an array in decending order using bubble sort algorithm.
6 M
3(c) Explain the working of XLAT instruction, illustrate its importance using a suitable program
4 M

4(a) Explain the following instructions with examples :
i) DAA ii) RLC iii) AAM iv) MOVSB.
8 M
4(b) Write an ALP using 8086 instruction set to count the number of ones in a given 8 - bit number and store the result at a memory location.
7 M
4(c) What is a procedure? Explain the sequence of operations that take place when a procedure is CALLed and RETurned.
5 M

5(a) Differentiate between :
i) Assembler and linker
ii) PUBLIC and EXTERN
iii) Macros and procedures.
6 M
5(b) What are modular programs? Explain. Using the PUBLIC and EXTERN directives write a program in assembly language that reads a string into an array in one module and converts the string to uppercase in another module.
8 M
5(c) What is recursion? Explain. Write an ALP to find the factorial of a single digit positive number using recursive procedure.
6 M

6(a) Explain the significance of the following pins of an 8086 microprocessor :
i) READY ii) \[\overline{TEST} \]iii) ALE iv) HOLD
4 M
6(b) With neat timing diagrams explain read bus cycle and write bus cycle.
8 M
6(c) With a neat diagram, explain the minimum mode configuration of 8088 microprocessor based computing system.
8 M

7(a) Differentiate between memory mapped IO and IO mapped IO.
4 M
7(b) What is address decoding? Why is it required? Explain how a 3 - 8 line decoder could be used to interface 64K memory using 8K memory chips.
8 M
7(c) Design a memory system to interface 8 × 8K EPROM and 8 × 4K SRAM to 8088 microprocessor. Assuming SRAM memory starts from 00000H and EPROM from E0000h.
i) Port A input, PORT B output and PORT C output ports
PORT A bi-directional mode, PORT B output port
Set PCI and reset PC5.
8 M

8(a) Explain the control word format of 8255 PPI in IO mode and BR mode. Construct control words for the following.
8 M
8(b) With a neat block schematic diagram explain the internal architecture of 8254 PIT.
8 M
8(c) What is DMA? Why is it required? Explain the basic DMA operation.
4 M



More question papers from Microprocessor and ARM processors
SPONSORED ADVERTISEMENTS