??? 08/08/06 21:14 Read: times |
#121886 - sure Responding to: ???'s previous message |
Well, thanks for the advice but i would appriciate it if you could tell me how to use an assembly delay in the C code i have posted
sure, compile the function with the SRC directive refine it, then use that for a separate assembly module. That module you can, should you so desire, put in a libray for automatic inclusion when you need a loop based delay. There is no way you can use an assembly delay in a C delay routine. You must have an assembly delay routine callable from C. DO NOT attempt inline assembly, it stinks. (yes, it works, but later you wil regret it (no c source when debugging, compile - the assemble ...) Erik |