You are on page 1of 10

The topic is actually a complete

subject in IT / CSE / ECE.

Processor Architecture and Interfacing

We will be discussing:
I/O Addressing;
Interfacing microprocessor / micro controller
with peripheral;
Serial communication interface;
Examples of interfacing.

2 Methods are used in programming and depend from


processor / controller:
a) Isolated Input / output,
b) memory mapped

a) Isolated Input / output :


In this input
& method, special instructions are used in
programming
IN to read from an
OUT to output to an output

Ex: For ZILOG 80 Microprocessor

b) Memory Mapped input / out put


Same instructions as are used to accessing memory
are used.

We have to refer to Instruction booklist of


processor / controller

Note: we are writing H after FF

Initially , made pin 3.1 as input = 1;


Now loop is running, When switch is pressed, it makes the
port 0, as per our hardware;
Now we want to have an output at 3.0 port; i.e have 1 at 3.0,
so I complement Carry flag; and move this to P3.0
Short jump to loop heading.

You might also like