explaining timing routines


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    4

    Default explaining timing routines

    Hi there
    Could some kind person explain the logic behind the following code.........
    ---------------------------------------------------------------------
    wait_1us ; 1 microsecond delay
    nop ;wait 1 microsecond
    return

    wait_xus ; x microsecond delay
    label
    call wait_1us ;call wait_1us subroutine
    decfsz xus,1 ;decrement xus (until zero)
    goto label ;if not zero, repeat until it is !
    return
    --------------------------------------------------------------------
    Thank you

  2. #2
    Join Date
    Mar 2006
    Location
    INDIA
    Posts
    89


    Did you find this post helpful? Yes | No

  3. #3
    Join Date
    Apr 2008
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Thanks

    Thanks 'Precision' - exactly what I needed
    Bob

Similar Threads

  1. 12F683 serout timing
    By Hobie Cat in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 21st December 2009, 16:57
  2. 18F2550 timing
    By sstt1976 in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 22nd August 2008, 00:30
  3. GPS clock timing !
    By bethr in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 3rd July 2008, 20:11
  4. Questions on timing
    By malc-c in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th July 2006, 22:38
  5. HSEROUT buffering and timing - 16F88
    By picster in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 5th March 2006, 17:52

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