Assembler and pulse width

I need to measure a pulse with that is almost faster then C can process with the hardware I'm using, so I think. I'm only getting a count of 26 on a pulse width, Witch has been good for the last four years. Now I need a count of at least 50 to try and fine-tune my process. My problem might be in the way I've been measuring the pulse width, which is based off of the Keil example using P3.4. Witch if I read the Atmel data sheet right takes 24 cycles to increment the count. Anyone know if Keil has an Assembler example for measuring a pulse with? I'm not asking anyone to write code for me, I only need direction help. If Assembler will give me what I need, I'll force myself to learn Assembler.

Parents Reply Children
More questions in this forum