Write initialisation instructions for the 8255A to set up: PORT A as an output port in Mode 0 PORT B …

Write initialisation instructions for the 8255A to set up: PORT A as an output port in Mode 0 PORT B as an output port in Mode 1 for interrupt I/O PORT C (Upper) as an output port in Mode 0.