PDA

View Full Version : Time that PICbasicpro commands last?



Koraki
- 9th September 2005, 11:53
I know from the manual of PIC16f876 that for example command bcf lasts 1 cycle and goto lasts 1 cycle (in assembly).Is there a table that shows how much time lasts every command of Picbasicpro?For example how fast is a



Loop:
Count PORTB.7,3000,W1
SerOut2 PORTC.0,84,["TIMES COUNTS:",DEC W1,13,10]
goto Loop


Notice: I use PIC16F876 with a 4Mhz Oscillator.If i use a 20Mhz oscillator
what changes?
One idea would be to count the commands in .asm file compiler
produces but that wouldn't be very convenient!

Thanks a lot....

Acetronics2
- 9th September 2005, 12:38
http://www.picbasic.co.uk/forum/showthread.php?t=1341

Alain