Hi, Bill
1) why not try to place your delay comp. just BEFORE the loop ??? ( could help for debugging too ... )
2) you can assign your variables banking ... see $ 7.3
Now, 16µS @ 20 MHz is ~ 60-80 assembler lines ... that make a lot of bank switchings ... if it is bank switching.
What's your processor ???
Alain
************************************************** ***********************
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 " !!!
*****************************************
Bookmarks