Microprocessor
After RESET 8255 will be in

 unchanged condition
 mode 0; all ports are output
 mode 2
 mode 0; all ports are input

ANSWER DOWNLOAD EXAMIANS APP