What are the function of IO ports like when we in or out the data from the port where that they store and how long

Answer:

Sponsored Links

I/O ports are used to communicate with external world, the data is stored in mostly accumulator register and size depends upon the architecture to architecture.

The term real world means the world out side the system/processor/computer.