Sunteți pe pagina 1din 8

Code No: RR420303 Set No.

1
IV B.Tech II Semester Supplimentary Examinations, May 2008
MICROPROCESSORS
(Mechanical Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆

1. (a) Explain various interrupt of 8085 Microprocessor and their priorities.


(b) Explain the
i. SID
ii. SOD
iii. S0 , S1 ,
iv. IN T A pins of 8085 Microprocessor. [8+8]

2. (a) Draw and explain the pin out diagram of 8086.


(b) Explain the various operations performed by Bus Interfacing unit in 8086.
[10+6]

3. (a) Explain the following Instructions.


i. MOV
ii. POP
iii. XCHG
iv. SAHF.
(b) Write a program to convert a Binary Number to a BCD Number. [8+8]

4. Give a set of macro definitions for performing the logical operations OR, AND
and XOR on words whose locations are indicated by the first two dummy para-
meters? The result is to be put in a location RESUL. Give the solution without
nesting macro definitions? Provide the solution using definition nesting for the
above problem? [16]

5. A logic network is having input variables A,B,C,D. The output variables are given
W =A.BC + ABC + AD
X = AC + BA + AD
below.
Y = A.B + A.C + D.B
Z = ABC + ACD + A.BC
The array INPUT 1 contains 10 different combinations of input variables. Write an
instruction sequence that determine the outputs for each combination of INPUT 1
array and store the output variables in the string OUTPUT 1. [16]

6. (a) What is the purpose of operational command words of 8259? Explain their
format and the use?

1 of 2
Code No: RR420303 Set No. 1
(b) What are the different control signals necessary for I/O read and write cy-
cles? Show how these control signals are generated in minimum and maximum
modes of 8086? [8+8]

7. (a) Explain the application of stepper motor in microcomputers?


(b) Explain with a neat block diagram the working of dual slope ADC? How
do you interface the dual slope ADC to microprocessor? Give the required
instruction sequence to acquire one sample from ADC? [8+8]

8. (a) Draw the block diagram of 8251 and explain each block?
(b) Discuss the serial data transmission standards and their specifications? [8+8]

⋆⋆⋆⋆⋆

2 of 2
Code No: RR420303 Set No. 2
IV B.Tech II Semester Supplimentary Examinations, May 2008
MICROPROCESSORS
(Mechanical Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆

1. (a) Draw the block diagram of 8085 Microprocessor.


(b) Explain the following pins of 8085 Microprocessor.
i. READY
ii. RESET OUT
iii. RST 7.5
iv. ALE. [8+8]

2. (a) Draw and explain the pin out diagram of 8086.


(b) Explain the various operations performed by Bus Interfacing unit in 8086.
[10+6]

3. (a) Write a program to check whether the given string is palindrome or not.
(b) Briefly explain about following instructions.
i. ADD
ii. NEG
iii. AAM
iv. DIV. [8+8]

4. A set of code is reused several times with a separate stack in a program. The
reminder of the program uses another stack segment. Define a macro with the
necessary instructions at the beginning and end of this set of code in order to
switch stacks and then switch back again. Also give the necessary code to define
the two stacks and initially set SS and SP? [16]

5. (a) What is a recursive procedure? Write a recursive procedure to calculate the


factorial of number N, where N is a two-digit Hex number?
(b) What are the loop instructions of 8086? Explain the use of DF flag in the
execution of string instructions. [8+8]

6. Why do we prefer interrupt driven data transfer than programmed I/O transfer?
Show the complete hardware design to resolve the multiple interrupts based on
priority? [16]

7. Interface an 8-bit DAC to 8255 with an address map of 0100H to 0103H. The DAC
provides output in the range of +5V to -5V. Write the instruction sequence for the
following?

1 of 2
Code No: RR420303 Set No. 2
(a) For generating a square wave with a peak to peak voltage of 2V and the
frequency will be selected from memory location ‘FREQ’.
(b) For generating a triangular wave with a maximum voltage of +4V and a
minimum of -2V. [8+8]

8. (a) Explain demand transfer mode and block transfer mode of 8237?
(b) Show how 8237’s are cascaded to provide more number of DRQ’s and explain
the operation?
(c) Explain how memory to memory transfer is performed with 8237? [6+5+5]

⋆⋆⋆⋆⋆

2 of 2
Code No: RR420303 Set No. 3
IV B.Tech II Semester Supplimentary Examinations, May 2008
MICROPROCESSORS
(Mechanical Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆

1. (a) Explain various interrupt of 8085 Microprocessor and their priorities.


(b) Explain the
i. SID
ii. SOD
iii. S0 , S1 ,
iv. IN T A pins of 8085 Microprocessor. [8+8]

2. (a) Draw and explain the pin out diagram of 8086.


(b) Explain the various operations performed by Bus Interfacing unit in 8086.
[10+6]

3. (a) Write a program to reverse a given array.


(b) Write notes on following instructions. WE
i. AAA
ii. SBB
iii. MUL
iv. CWD. [8+8]

4. (a) Write the sequence of statements that declare the word named ‘NWORD’ and
FAR label ‘EXTMOD’ as being external and the variable ‘IWORD’ and the
label ‘LOCMOD’ as being local and accessile by other source modules?
(b) Give the sequence of instructions that pushes the offsets of word variables X,
Y and Z in data segment onto stack? [8+8]

5. (a) Explain string instructions supported by 8086 processor?


(b) Give the instruction sequence that compares the first 10 bytes beginning at
STRG 1 with the first ten bytes beginning at STRG 2 and branches to
MATCH if they are equal, otherwise continues in sequence? [8+8]

6. The I/O circuitry in an 8086 based system consists of five I/O devices with one
status signal for each device. Design the required hardware providing two address
locations to each device, one for status and other for data. In the range 0F00H to
0FOFH. Write an instruction sequence to test the status of each device and store
it. [16]

1 of 2
Code No: RR420303 Set No. 3
7. (a) A DAC is interfaced to 8255 with an address map of 0800H to 0803H. Give the
hardware design? It is necessary to design a counter type ADC with the same
8255 and DAC using a comparator. Give the necessary hardware? Provide
the necessary instruction sequence to store a sample in location ?sampleone??
(b) Using the above hardware write the instruction sequence for successive ap-
proximation ADC? [8+8]

8. (a) Draw the flowchart showing how synchronous serial data can be sent from a
port line using software routine?
(b) Draw the block diagram of 8237 and explain each block. [8+8]

⋆⋆⋆⋆⋆

2 of 2
Code No: RR420303 Set No. 4
IV B.Tech II Semester Supplimentary Examinations, May 2008
MICROPROCESSORS
(Mechanical Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆

1. (a) What are the arithmetic and logical operations performed in 8085 Microproces-
sor?
(b) What are the different registers in 8085 Microprocessor? Discuss their func-
tions. [8+8]

2. (a) Explain the different types of Instruction Formats used in 8086.


(b) Give the sum and Flag settings for AF, SF, ZF, CF, OF, and PF after hexadec-
imally adding 62A0 to each of the Following:
i. 1234
ii. 9090
iii. 9060. [10+6]

3. Write brief notes on the following.

(a) PUSH
(b) IN
(c) NEG
(d) DIV
(e) XOR
(f) SHR
(g) JS
(h) ROR. [8×2=16]

4. (a) Write the sequence of statements that declare the word named NWORD and
the FAR label EXTMOD as being external and the variable LWORD and the
label LOCMOD as being local and accessible by other source modules?
(b) Give the definition of a macro RESTORE that will pop the register contents
that have been pushed in the order AX, BX, CX, DX, SI and DI? [8+8]

5. (a) Write an instruction sequence that converts 4-digit ASCII coded decimal num-
ber into ASCII coded hex equivalent number?
(b) Explain string instructions supported by 8086 processor? [8+8]

6. Explain the following terms with reference to 8259?

(a) Special mask mode

1 of 2
Code No: RR420303 Set No. 4
(b) Fully nested mode
(c) Read register command
(d) Poll command. [4+4+4+4]

7. Explain how eight seven-segment display devices and hex keyboard can be inter-
faced to microprocessor using common scan lines? Draw the flow chart of the
keyboard scan routine and display routine for this system? [16]

8. (a) Distinguish between synchronous and asynchronous serial data transmission


techniques? Discuss the advantages and disadvantages?
(b) Draw the block diagram of combination of FAX and Data Modem? Explain
each block? [8+8]

⋆⋆⋆⋆⋆

2 of 2

S-ar putea să vă placă și