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-10 by jayasooriah

--- In lpc2000@yahoogroups.com, "Paul Curtis" <plc@...> wrote:

> In short, I have never used inline assembler and I see no reason to
> start using it.  Our own compilers do not offer this feature and with
> the wealth of customers we have, each time they ask for it I show them
> why they don't need it.

I appreciate the need to use inline assembly features of GCC in
embedded systems especially.  I find them very handy to meet that odd
requirement that takes a lot of contortion to do otherwise.

The benefit I find in using inline assembly for such reasons is that
not only does it avoid having open up the interface (by creating an
external call), but also makes the code more readable, and in many
cases also compact and efficient.

Jaya

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.