Explain modes of operation of programmable interval timer 8254.
Mode 0 - Interrupt upon terminal count
Mode 1 - Programmable one-shot
Mode 2 - Rate Generator
Mode 3 - Square wave rate generator
Mode 4 - Software triggered strobe
Mode 5 - Hardware trigger strobe.