Time that PICbasicpro commands last?


Closed Thread
Results 1 to 2 of 2
  1. #1
    Koraki's Avatar
    Koraki Guest

    Lightbulb Time that PICbasicpro commands last?

    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....

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Wink see here

    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. I don't understand this code!
    By Russ Kincaid in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 13th February 2008, 02:55
  2. Measuring time
    By AugustoPedrone in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 30th July 2007, 23:46
  3. Serout2/serin2 Pbp Problem
    By SOMRU in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th December 2006, 19:55
  4. Alarm Time
    By Santana in forum Code Examples
    Replies: 1
    Last Post: - 8th December 2006, 13:58
  5. Timer in real time
    By martarse in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 29th July 2005, 14:24

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts