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
Message
Re: [lpc2000] Re: Example of C and inline ASM in a file?
2006-04-07 by Robert Adsett