Command to Clock Cycle table


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

    Question Command to Clock Cycle table

    Does anyone have a cross-reference table for PBP commands to the # of clock cycles needed to execute that command?

    Would be useful in timing critical situations to know which commands to use / stay away from.

    Thanks!

    bcf

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    none exist and there's a good reason for. How many different way you can write and IF THEN ELSE? FOR TO NEXT? WHile/WEND and so on?

    you can use different methos to measure it, toggle a led before and after a statement block and measure it with a scope.

    Start a timer before, stop it at the end, calculate the amount of tick then send it over serial to your pc or on a lcd.

    Use MPLAB stopwatch

    list is long...

    EDIT: there's something to play with... say thanks to Darrel
    http://www.picbasic.co.uk/forum/show...ighlight=cycle
    Last edited by mister_e; - 24th July 2006 at 22:52.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. EM4095 Chip, get Clock and Data signals?
    By mindthomas in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 19th August 2008, 06:27
  2. PICBasic newbie problem
    By ELCouz in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 12th February 2008, 00:55
  3. Shiftout/in
    By BobEdge in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd August 2007, 11:48
  4. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 20:36
  5. Interrupt cycle time limitation?
    By jswayze in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 24th March 2005, 07:11

Members who have read this thread : 1

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