You are on page 1of 1

Unit 4

Assignments
1) Interface an 8255 with 8086 at 80H as an I/O address of Port A. Interface five 7 segment
displays with the 8255. Write an ALP to display 1, 2, 3, 4 and 5 over the 5 displays continuously
as per their positions starting with 1 at the least significant position?

2) Interface an 8255 chip with 8086 to work as an I/O port. Initialize port A as output port, Port B
as I/P port and Port C as O/P port. Port A address should be 0740H. Write an ALP to sense switch
positions SW0–SW7 connected at port B. The sensed pattern is to be displayed on port A, to
which 8 LED's are connected, while port C lower displays number of on switches out of the total
eight switches ?

3) Interface ADC 0808 with 8086 using 8255 ports. Use Port A for transferring digital data output
ADC to the CPU and port c for control signals. Assume that an analog input is present at input 2
of the ADC and a clock input of suitable frequency is available for ADC. Draw the schematic and
write required ALP.

4) Interface DAC AD7523 with an 8086 cpu running at 8Mhz and write an assembly language
program to generate a sawtooth waveform of period 1ms with V max 5 V.

5) Design a programmable timer using 8253 and 8086. Interface 8253 at an address 0400h for
counter 0 and write the following ALPs. The 8086 and 8523 run at 6Mhz and
1.5Mhzrespectively.

i) To generate a square wave of period 2 ms


ii) To interrupt the processor after 20ms.

6) Explain 8251 USART, with neat labeled neat diagrams


7) What are the different modes of operations of 8253
8) Explain how ADC 0808 works

You might also like