Generating PORT Address for I/O Microprocessor and Interfacing by Ravinder Nath Rajotiya - October 12, 2021October 12, 20210 Generating the Ports for interfacing There are two techniques or methods for interfacing i/o devices, these are: i/o-Mapped I/O- In this method, the i/o device have separate address space and instructions exclusively for inputting or outputting the data from/to the devices. Instructions for reading/writing memory are different than i/o instructions.IN and OUT are used for i/o devices, and MOV is used for memory related operations. memory-mapped I/O- This techniques uses the common address space and instructions for communicating with the memory or the i/o. MOV instruction is used for i/o as well as memory related operations. In the following paragraph we will learn how to create the port addresses for the i/o-mapped i/o technique. We will use some address decoding logic gates for
8085-Data Transfer instructions 8085 Microprocessor by Ravinder Nath Rajotiya - September 1, 2020May 10, 20210 Data Transfer Instructions: These instructions are used for transferring data items from one source location to another location called destination. The source can be an immediate number, content of a register or memory or even an input from the peripheral and destination can be a register, memory or any peripheral. The different instructions under data transfer category are listed in table below: 1 MVI Reg/Mem,8-bit data Move immediate 8-bit data in reg/memory 2 MOV Rd, Rs Move content of source register to a destination register 3 MOV Rd, M Move content of memory to a destination register 4 LXI Rp,16-bit Data Move 16-bit immediate data to register pair (BC, DE, HL) 5 LDA 16-bit Address Load Accumulator from memory whose 16-bit address is given 6 STA 16-bit Address Store Accumulator from memory whose 16-bit address is given 7 LHLD 16-bit Address Load HL