Assembly or ....

Richard A. O'Keefe ok at quintus.uucp
Fri Dec 9 16:10:37 AEST 1988


In article <2159 at garth.UUCP> smryan at garth.UUCP (Steven Ryan) writes:
>>> (b) C with "asm" or "inline" can be made to generate any instruction.
>
>Asm by any other name is till assembly.

Not quite.  The big advantage of something like "inline" (that is, C
compilers which support "*.il" files) is that ordinary programmers can
get the benefits of inline assembly code *without* having to know that
that is what they are doing.  (It is almost possible to do this with
old-style "asm" by means of #include files.)  It isn't, for example,
easy to put assembly code through "lint", but it _is_ possible to
put a C program calling .inline macros through "lint".



More information about the Comp.lang.c mailing list