r05320202 Microprocessors and Micro Controllers
r05320202 Microprocessors and Micro Controllers
r05320202 Microprocessors and Micro Controllers
com/
5. (a) Write an 8086 instruction sequence for transmitting 50 characters which are
stored from the location 2010H using 8251.
(b) Write an 8086 instruction sequence for receiving 50 characters using 8251 and
store them in memory at location 2080H. [8+8]
(a) IN T 0 / IN T 1
(b) RD
(c) P SEN
(d) ALE
(e) T0 and T1
(f) EA
(g) TxD
(h) RxD [16]
7. (a) Write 8051 program to generate 2 kHz square waves on pin P1.0 of port 1
using Timer interrupt.
(b) Write 8051 program to receive a serial byte through RxD. [8+8]
1 of 2
To get more visit-http://www.examsadda.blogspot.com/
⋆⋆⋆⋆⋆
2 of 2
To get more visit-http://www.examsadda.blogspot.com/
1. (a) Discuss about the interface signals of the 8086 processor in maximum mode
(b) Discuss SBB, AAD, TEST, SCAS instructions of 8086. [8+8]
3. Interface a 4 x 4 key board with 8086 using 8255 and write an ALP for detecting
the key closure and return the key code in AL. The debouncing period for a key is
10 ms.Use software key debouncing technique. DEBOUNCE is an available 1 ms
delay routine. [16]
5. (a) List and briefly describe the function of the three signal groups of the GPIB.
(b) Draw the data transfer and handshake waveforms. [10+6]
1 of 2
To get more visit-http://www.examsadda.blogspot.com/
8. (a) Draw the circuit diagram to interface the DAC to the microcontroller and
explain.
(b) Give the differences between microprocessors and microcontrollers? [8+8]
⋆⋆⋆⋆⋆
2 of 2
To get more visit-http://www.examsadda.blogspot.com/
2. (a) Write an 8086 Assembler Program that adds two given 4-digit BCD numbers
(b) How do you pass parameters to a MACRO? [12+4]
3. Interface ADC 0808 with 8086 using 8255 ports. Use Port A of 8255 for transferring
the digital data output of ADC to the CPU and Port C fo control signals. Assume
that the analog input is present at I/P of the ADC and clock input of suitable
frequency is available to ADC. Draw the schematic and the required ALP.
[16]
5. (a) Describe the bit assignment for mode instruction format of 8251 for both
Synchronous and Asynchronous modes.
(b) Write an instruction sequence for initializing 8251 for the following combina-
tion.
i. Asynchronous mode
ii. Even parity
iii. 7 data bits
iv. 2 stop bits
v. 6400 baud rate [8+8]
8. (a) Explain with a neat diagram how push button and LED can be connected to
8051
1 of 2
To get more visit-http://www.examsadda.blogspot.com/
⋆⋆⋆⋆⋆
2 of 2
To get more visit-http://www.examsadda.blogspot.com/
1. Draw the maximum mode block diagram of 8086 processor and explain its function.
[16]
2. (a) What is a MACRO? How do you pass parameters to MACROs?
(b) Write a program to implement FOR loop using instructions of 8086. [8+8]
3. (a) Explain the basic steps involved in an A/D converter
(b) Explain the block diagram of an ADC 0808/0809. [8+8]
4. (a) Explain the Static Ram interfacing
(b) Interface TWO 4KX8 EPROMS and two 4K X 8 RAM chips with 8086.Select
suitable memory map. [6+10]
5. (a) Draw the internal block diagram of 8251 and explain about each block in
detail.
(b) Distinguish between Synchronous and Asynchronous data formats. [10+6]
6. (a) Explain the following instructions?
i. ANL P0, #0Fh
ii. CPL A
iii. CLR ACC.5
iv. XRL add, #n
(b) Write 8051 program to OR the contents of ports 1 and 2, put the result in
external RAM location 0102h. [8+8]
7. (a) Write 8051 program to initialize timer 1 in mode 1.
(b) Write 8051 program to generate 2 kHz square waves on pin P1.0 of port 1
using Timer 0 auto reload mode. [8+8]
8. (a) Interface the 7-segment displays in time-multiplexing and display select method
and explain the same.
(b) Write a 8051 program to control the operation of a 7-segment displays with
time multiplexing and display method. Assume that the 7-segment codes for
the characters to be displayed are at 40,42,44,46H respectively in the inter-
nal RAM. Whereas, the cathode select codes for each of the displays are at
41,43,45,47H respectively. [8+8]
⋆⋆⋆⋆⋆
1 of 1