0% found this document useful (0 votes)
68 views2 pages

Exp No: 04 (Aim:: 8255 Interfacing Using Mode 0')

The document summarizes an experiment that uses an 8085 microprocessor kit and 8255 interface chip to read input data from port A and output that same data to port B in mode 0. The program initializes port A as an input and port B as an output, reads the data from port A, outputs that data to port B, and then terminates. The output shows the input and output ports contain the same data, verifying successful interfacing using mode 0.

Uploaded by

mohan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views2 pages

Exp No: 04 (Aim:: 8255 Interfacing Using Mode 0')

The document summarizes an experiment that uses an 8085 microprocessor kit and 8255 interface chip to read input data from port A and output that same data to port B in mode 0. The program initializes port A as an input and port B as an output, reads the data from port A, outputs that data to port B, and then terminates. The output shows the input and output ports contain the same data, verifying successful interfacing using mode 0.

Uploaded by

mohan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Exp No: 04 (8255 INTERFACING USING MODE 0)

AIM:
To initialize port A as the input port A and port B as input in mode 0 to input
the data at port A as set by input switches and the output of some data to glow the
LED automatically.

FACILITIES REQUIRED:
Sl.No. Facilities Required Quantity
1 8085 Microprocessor Kit 1
2 8255 Interface 1
3 DC Power Supply 5V 1

PROCEDURE:
1. Start the program execution. Initialize the data A as input.
2. Input the data at port A. Output the data at port B.
3. Terminate the program.

PROGRAM:
ADDRESS OPCODE LABEL MNEMONICS COMMENTS
4100 3E 90 MVI A,90 Initialize port A as I/P and Port B as
output port.
4102 D3 C6 OUT C6
4104 DB C0 IN CO Read port A
4106 D3 C2 OUT C2 Output the data at port B
4108 76 HLT Terminate the program.

OUTPUT:
INPUT OUTPUT

Port A Port B

11101001 11101001

RESULT:

Thus the interfacing 8255 using Mode 0 was executed and verified successfully.

You might also like