GTU Electronics and Communication Engineering (Semester 4)
Microprocessor And Interfacing
December 2016
Microprocessor And Interfacing
December 2016
Answer the following questions.
1(i)
Differentiate between assembly level language and machine level language.
1 M
1(ii)
How many distinct instruction codes can be generated by an 8085 microprocessor?
1 M
1(iii)
State the importance of X1 and X2 pins of an 8085 microprocessor.
1 M
1(iv)
What is an interrupt ? Enlist hardware interrupt sources (pins) available on the 8085 microprocessor chip.
1 M
1(ix)
Write a set of 8085 assembly language instructions to unpack the upper nibble of a BCD number.
1 M
1(v)
State the uses of program counter and stack pointer registerof an 8085 microprocessor.
1 M
1(vi)
How many flags are available in an 8085 microprocessor? State the importance of auxiliary carry (AC) flag.
1 M
1(vii)
How much time an 8085 microprocessor will take to execute the LXI B, 4000H instruction, if the crystal frequency is 4MHz?
1 M
1(viii)
Explain the PCHL instruction of an 8085 microprocessor with example.
1 M
1(x)
Explain the use of READY pin of an 8085 microprocessor.
1 M
1(xi)
Enlist various segment registers available in an 8086 microprocessor.
1 M
1(xii)
Draw the format of a flag register of an 8086 microprocessor.
1 M
1(xiii)
State various types of registers available in programmable interrupt controller (8259).
1 M
1(xiv)
What will be the physical address (PA), if CS and IP register content of an 8086 microprocessor are 2500h and 0002h, respectively?
1 M
2(a)
Define the terms: T-state, Machine cycle. How many machine cycles and t-states will be required to execute the LHLD instruction?
3 M
2(b)
Draw the timing diagram of MOV M, B instruction of an 8085 microprocessor.
4 M
Solve any one question.Q2(c) &Q2(d)
2(c)
An array of ten data bytes is stored on memory locations 2100H onwards. Write an 8085 assembly language program to find the bytes having complemented nibbles (e.g.2DH,
3CH,
78H etc.) and store them on a new array starting from memory locations 2200H onwards.
3CH,
78H etc.) and store them on a new array starting from memory locations 2200H onwards.
7 M
2(d)
An array of twenty data bytes is stored on memory locations 4100H onwards. Write an 8085 assembly language program to remove the duplicate entries from the array and store the compressed array on a new array starting from memory locations 4200H onwards.
7 M
solve any one question Q.3(a,b,c) &Q4(a,b,c)
3(a)
Draw the interfacting of 2K EPROM having an ending address OFFFH with 8085 microprocessor. Use demultiplexed address/data lines and 3-to-8 decoder (74LS138).
3 M
3(b)
Write a set of 8085 assembly language instructions to generate a 1 second delay, if the crystal frequency is 6MHz.
4 M
3(c)
Write an 8085 assembly language program to count the number of bytes that are greater than 2510 and lesser than 6510 from an array of twenty bytes stored on memory locations 2000H onwards. Store such numbers on memory locations 2100H onwards.
7 M
4(a)
Describe various addressing modes of 8085 microprocessor with examples.
3 M
4(b)
Show al the necessary connections to interface eight LED using an output port with address 45H with 8085 microprocessor. Use demultiplexed address.data lines and 3-to-8 decoder (74LS138).
4 M
4(c)
Write an 8085 assembly language program to count the positive numbers, negative numbers, zeros and to find the maximum number from an array of twenty bytes stored on memory locations 2000H onwards. Store these three counts and the maximum number on memory locations 3001H to 3004H, respectively.
7 M
solve any one question Q.5(a,b,c) &Q6(a,b,c)
5(a)
Differentiate between the hardware and software interrupts. How many such interrupts are available in 8085 microprocessor?
3 M
5(b)
Define the concepts of stack and subroutine. Explain the PUSH and POP instructions of an 8085 microprocessor with example.
4 M
5(c)
Whta is the need of the programmable interrupt controller (8259A)? Draw and explain the block diagram of 8259A.
7 M
6(a)
State the difference between vectored and non-vecotored interrupts. Explain vectored interrupts of 8085 microprocessor.
3 M
6(b)
Explain the SIM and RIM instructions of 8085 microprocessor.
4 M
6(c)
With necessary diagrams, explain mode 1 of the programmable peripheral interface (8255A) with necessary diagrams.
7 M
solve any one question Q.7(a,b,c) &Q8(a,b,c)
7(a)
Describe the importance of bus interface unit (BIU) and execution unit(EIU) an 8086 microprocessor.
3 M
7(b)
Differentiate between the real mode and protected mode of an 80286 microprocessor.
4 M
7(c)
Explain the paging mechanism in an 80386 microprocessor.
7 M
8(a)
Explain the following pins of an 8086 microprocessor: BHE,RQ/GT0
3 M
8(b)
Explain, in brief, various addressing modes of an 80286 microprocessor.
4 M
8(c)
Explain the major architectural features of a SUN SPARC processor.
7 M
More question papers from Microprocessor And Interfacing