This is the mail archive of the
mailing list for the GCC project.
Re: MS/CW-style inline assembly for GCC
Stan Shebs wrote:
A purely syntactic extension would be kind of pointless - what this
syntax does is to simplify and automate the parts of GCC assembly
syntax that are known to be extremely difficult for users to get right,
which also happens to facilitate porting code that could previously
only be handled by a proprietary compiler. So it does require a small
amount of platform support, namely to compute the arcana that has been
exposed to the poor users.
Ugh. I guess people writing more than three lines of assembly should use
an assembler and not the compiler to do their work! For the unusual
short asm sequences gcc inline assembly is easy enough to understand.