Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Example of C and inline ASM in a file?

2006-04-07 by rtstofer

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.

There are times...  Not many, perhaps, but they do exist.

Richard

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.