Yahoo Groups archive

Lpc2000

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

Message

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

2006-04-11 by Robert Adsett

At 10:15 AM 4/10/2006 +0100, Stephen Pelc wrote:


> > From: Robert Adsett <subscriptions@...>
> > OK, but how is that an argument for making the assembler inline?  I do see
> > uses for assembler, I am just of the opinion, informed by my experiences,
> > that inline assembler causes more problems than it fixes.
>
>If I only needed a few instructions, and the register usage is
>well documented, then inline assembler is less of a maintenance
>nightmare than an external routine in another file.

There. I think, we will just have to disagree.  I've found the reverse to 
be true in my experience.

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/

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.