0% found this document useful (0 votes)
447 views

Microprocessors and Interfacing

The document contains four sets of questions for a B. Tech III Year I Semester Examination in Microprocessors and Interfacing. The exam covers various topics related to 8085, 8086, 8051, 8255, 8259, 8251 microprocessors including architecture, addressing modes, assembly language programming, interrupts, I/O interfacing and communication protocols. Students must answer five questions by explaining concepts and providing examples.

Uploaded by

Venkatesh Racha
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
447 views

Microprocessors and Interfacing

The document contains four sets of questions for a B. Tech III Year I Semester Examination in Microprocessors and Interfacing. The exam covers various topics related to 8085, 8086, 8051, 8255, 8259, 8251 microprocessors including architecture, addressing modes, assembly language programming, interrupts, I/O interfacing and communication protocols. Students must answer five questions by explaining concepts and providing examples.

Uploaded by

Venkatesh Racha
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

www.jntuworld.

com

www.jwjobs.net

Code No: 09A50506

R09

SET-1
Max. Marks: 75

B. Tech III Year I Semester Examinations, May/June - 2012 MICROPROCESSORS AND INTERFACING
(COMPUTER SCIENCE AND ENGINEERING)

Time: 3 hours Answer any five questions All questions carry equal marks --1.a) b) 2.a) b)

Draw the functional block diagram of 8085, and explain in brief. Explain various addressing modes of 8086, with suitable instructions.

[7+8]

Explain the 8086 conditional flags with each flag bit. What is an assembler directive? Explain the following assembler directives with examples. i) PUBLIC ii) PROC iii) MACRO iv) BB. [7+8] Discuss various branch instructions of 8086 microprocessor, that are useful for relocation. Write an assembly language program using the Logical Instructions XOR, AND and arithmetic instructions to display a number in BCD format. [7+8] Define machine cycle and instruction cycle. Identify the machine cycles in the instruction IN 02H and draw the timing diagram for the same Explain the working of 8086 in the maximum mode Illustrate with a neat diagram. Also give the timing diagram of I/O read operation. [7+8] Explain different types of 8086 interrupts and also the action taken when an interrupt occurs. Explain the working of 8259 and also explain Initialization Command Words and Operation Command Words. [7+8] Explain different data communication methods with examples Draw and explain the architecture of USART, and specify the control word and status word of it. [7+8] Explain the interrupt structure, SFR and timers of 8051 Explain the following instructions of 8051 with examples. i) CJNE destination, source, label ii) RRL A iii) SWAP A iv) SETB P2. Write short notes on any TWO a) Interfacing of Matrix keyboard 8051 b) IEEE 488 GPIB c) DMA data transfer. --ooOoo--

3.a) b)

4.a) b)

5.a) b)

6.a) b)

T N

W U

R O

D L

7.a) b)

[15]

8.

[15]

www.jntuworld.com

www.jntuworld.com

www.jwjobs.net

Code No: 09A50506

R09

SET-2
Max. Marks: 75

B. Tech III Year I Semester Examinations, May/June - 2012 MICROPROCESSORS AND INTERFACING
(COMPUTER SCIENCE AND ENGINEERING)

Time: 3 hours

1.a) b)

Answer any five questions All questions carry equal marks --Explain the important parameters that are useful for selection of a microprocessor with suitable examples. Explain the concepts of both pipelining and segmented memory. Also explain how they are implemented in 8086. [7+8] Distinguish between a macro and a procedure and also explain the sequence of operations that takes place when a procedure is called. Explain the following assembler directives i) EXTERN ii) EVEN iii) EVEN iv) TYPE. [7+8] Write an assembly language program to calculate delay of 100 milli seconds for an 8086 working at 10 MHZ clock Write an assembly language program to move a byte of string of length FF from a source to a destination. [7+8] What is DMA? Explain the need for DMA with suitable examples. With neat diagrams interface 8K ROM and 4K RAM with 8086 assuming start address of ROM as 40000h and for RAM 44000h. [7+8] Explain about interrupt structure and interrupt vector table of 8086 Interface IC 8259 to 8086 MP with a base address of FF10H. Write initialization sequence for IC 8259 with edge triggered input, only one 8259 IC, 8086 MP, interrupt type 40 H corresponds to IR0 input, normal EOI, non buffered mode, not SFNM, IR and IR3 are unmasked. [7+8] Explain the asynchronous mode transmit and receive formats of 8251with neat Schematic. Describe the function of major signals in the RS 232C standard. [7+8] Explain the I/O port structure of 8051. Write 8051 ALP to read data from port I when negative edge triggered at INTO and supply the data to port 2 by masking the upper 4 bits. [8+8] Write short notes on any TWO a) Timer operation of 8051 b) Interrupt structure of 8051 c) Maximum and Minimum mode operations of 8086. --ooOoo--

2.a) b)

3.a) b)

4.a) b)

5.a) b)

6.a) b) 7.a) b)

T N

W U

R O

D L

8.

[16]

www.jntuworld.com

www.jntuworld.com

www.jwjobs.net

Code No: 09A50506

R09

SET-3
Max. Marks: 75

B. Tech III Year I Semester Examinations, May/June - 2012 MICROPROCESSORS AND INTERFACING
(COMPUTER SCIENCE AND ENGINEERING)

Time: 3 hours

1.a) b)

Answer any five questions All questions carry equal marks --Explain the architecture of an 8085 microprocessor with a neat block diagram. Explain the different data and branch addressing modes of 8086 microprocessor. [7+8] Explain with simple examples how the string manipulation instructions in 8086 are useful in block transfer of data. Write an 8086 assembly language program to separate odd & even numbers in an array. [7+8] Explain the concept of DMA with block diagram. Explain the working of 8237 DMAC in burst transfer mode. An 8-bit successive approximation ADC is interfaced to 8086 microprocessor through an 8255 PPI chip. The port addresses of 8255 are ranging from 80 H to 83 H. The start of conversion signal of ADC is connected to PCo bit and the end of conversion signal is connected to PC7 bit. Write an 8086 assembly language program to read the digital data from the ADC chip for the given analog input. [7+8] Distinguish between a software interrupt and hardware interrupt and give a block schematic of 8259. Explain the need for cascading of interrupt controllers and how they are cascaded. [7+8] Give the specifications of RS232C and also explain about line driver and line receiver used in serial communication. What is USART? What are the functions performed by INTEL 8251A and give its control words. [7+8] List a few instructions of 8051 microcontroller that affect the flag bits. Write a 8051 ALP to find Fibonacci series of N given numbers.

2.a) b)

3.a) b)

4.a) b)

5.a) b)

T N

W U

R O

D L

6.a) b) 7.a) b) 8.

[7+8]

Interface Data memory of 16k x 8 SRAM to 8051 and give memory map. The starting address of SRAM should be 0000H. Discuss the internal and external interrupts in 8051. [7+8] Write short notes on any TWO a) Addressing modes of 8051 b) IEEE 488 GPIB c) DOS and BIOS interrupts. --ooOoo--

[15]

www.jntuworld.com

www.jntuworld.com

www.jwjobs.net

Code No: 09A50506

R09

SET-4
Max. Marks: 75

B. Tech III Year I Semester Examinations, May/June - 2012 MICROPROCESSORS AND INTERFACING
(COMPUTER SCIENCE AND ENGINEERING)

Time: 3 hours

1.a) b) 2.a) b) 3.a) b) 4.a) b)

Answer any five questions All questions carry equal marks --Explain the control and status signals of 8085 and list the various types of registers in 8085. Explain different addressing modes of 8086. [7+8] Distinguish between a procedure and macro. Explain about recursive and reentrant procedures Explain any five assembler directives used in 8086 assembly language programming. [7+8] Write a program to transfer a block of 128 bytes starting from one address to a destination address using string instructions. Write an assembly language program to find square root of an 8-bit number.[7+8] Explain the system bus timing diagram for read cycle in minimum mode configuration. Design an 8086 based microprocessor system with following specifications: i) 8086 microprocessor working at 5 MHz ii) 64 KB of EPROM using 16 KB devices iii) 128 KB of SRAM using 64 KB devices. Explain the design and show the memory map. [7+8] Determine the 8255 control word to be used when programming the port A as mode1 input port and port B as mode1 output port. INTEA and INTEB should both be enabled and the two unused port C lines should be defined as outputs. Address of the control port is 83H. Draw the connection diagram and write the initialization routine required Interface an 8 bit DAC to port A through 8255. Write a program segment to output a ramp. [7+8]

5.a)

b)

T N

W U

R O

D L

6.a) b) 7.a) b) 8.

Explain the following modes of operation of 8259: i) Fully Nested Mode ii)Rotating Priority Mode Explain RS232C circuit model and the logic levels of RS232B and C levels. [7+8] Explain the mode instruction controlled formats of 8251. Explain about the real and protected modes of 80386. Write short notes on any TWO a) Register set of 8051 b) RISC processors c) 8251 USART. --ooOoo-www.jntuworld.com [7+8]

[15]

You might also like