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 Stephen Pelc

> 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.

Stephen
--
Stephen Pelc, stephen@...
MicroProcessor Engineering Ltd - More Real, Less Time
133 Hill Lane, Southampton SO15 5AF, England
tel: +44 (0)23 8063 1441, fax: +44 (0)23 8033 9691
web: http://www.mpeforth.com - free VFX Forth downloads

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.