Can anyone please send me the code for counting pulses using timer 0 as counter in 'C'language.
"In main(), my first instruction is TMOD=0x25;"
OK then, we'll just assume that's true. If you want the counter registers to count, why do you continually zero them?