1Program PACA to be an event counter Use 16bit mode and disp
1.Program PACA to be an event counter. Use 16-bit mode, and display the binary count on PORTB and PORTA continuously. Set the initial count to 20,000.
I need some help with this problem.A prompt response would be highly appreciated.Thanks.
Solution
PORTA = PORTA | 0x02;
PORTB = PORTB & ~0x0C;
