Explain the purpose of the I/O instructions IN and OUT.
The IN instruction is used to move data from an I/O port into the accumulator.
The OUT instruction is used to move data from the accumulator to an I/O port.
The IN & OUT instructions are used only on microprocessor, which use a part address space for interfacing.