21/11/2005 CAP241 * Input & Output Instructions CPU communicates with the peripherals through I/O registers called I/O ports. There are 2 instructions, IN & OUT,…