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-07 by Robert Adsett

Quoting "ian.scanlon" <scanlon.design@...>:

> --- In lpc2000@yahoogroups.com, "ah_sandiego" <ah_sandiego@...> wrote:
>>
>> Can someone post a simple example of C and inline ASM in a single
>> file. I use the LPC2148 but any LPC board example would be helpful.
>>
>> Thanks,
>> AH
>>
> Depending on the compiler optimization levels, inline asm has minimal
> benefit for size or speed.  Inline asm also limits portability for
> hardware and compilers. Even if you think it will never be an issue...
Indeed, I've yet to see a good reason to use inline assembler on any processor
and that's doubly true for the ARM.

Robert

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.