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
Bookmarks