At 10:31 PM 4/7/2006 +0000, rtstofer wrote: >OK, I'll bite! I have used inline assembly in cc5x (sort of C for the >PIC) to control exactly the number of cycles in a delay routine. No >active interrupts in this code. I suppose it could be done in C but >that would change with compilers and optimization. An argument for assembly yes, but I don't see it as an argument for inline assembly. Robert " 'Freedom' has no meaning of itself. There are always restrictions, be they legal, genetic, or physical. If you don't believe me, try to chew a radio signal. " -- Kelvin Throop, III http://www.aeolusdevelopment.com/
Message
Re: [lpc2000] Re: Example of C and inline ASM in a file?
2006-04-08 by Robert Adsett