Jim,
I am taking your suggestion for the __delay_cycles intrinsic function. Thanks for the suggestion.

Paul

On 6/7/2010 6:00 AM, JMGross wrote:

I suggest replacing the intrinsic functions by macros or inline-functions with 
hand-crafted inline assembly code.
This way, you have full control over the generated assembly code and it can be 
written as small as possible.
e.g. the delay function: take the parameter, shift it right by 3 bits and 
generate a loop that takes exactly 8 cycles....

JMGross


Reply via email to