Experiment-5 Reading a number from One Port and Sending it to another Port 8086 Programming by Ravinder Nath Rajotiya - April 15, 2021May 9, 20220 Aim: Write a Program to read 16 bit Data from a port and display the same in another port. Objectives: [ To learn configuring of Key board and display module with 8086 microprocessor using 8255PPI Design algorithm and develop a program for accepting data from oneport and displaying it to LCD connected to other port. Equipment Require: 8255 Display Module, 8086 trainer Kit Theory: A Simple approach We can make use of the 8086 IN and OUT instruction to read the data from the device attached to a port and send the data to another port. We can access the ports using direct addressing or indirect addressing Direct address can be provided in the instruction Indirect address is loaded in DX register. here isĀ simple program statements for the
8255 PPI(Programmable Peripheral Interface) Microprocessor and Interfacing by Ravinder Nath Rajotiya - March 26, 2020April 21, 20220 8255 Programmable Peripheral Interface 8255 is a programmable peripheral interface IC which is used as an interface between the external device and the microprocessor for parallel communication. This IC is a 40-pi IC having three ports known as Port-A(PA), Port-B(PB) and Port-C(PC). these ports can operate in various modes. the complete details is given in the following PPTSs. Features of the 8255: It provide three I/O ports All the three I/O ports are latched Port operation is configurable by programming 8255 i.e. writing a control word in CWR BSR- bit set-reset mode allows individual pins of port C to be controlled to be set or reset. PIN diagram of 8255 8255 PPI is a 40-pin IC, it has three 8-bit ports named PA, PB