pa**********@gmail.com wrote:
Victor, it's because my good friend Artur says that asm is more
`powerful` when it comes to precise control of which register should be
used etc etc. He says that asm( "whatever") blocks only give compiler a
tip but aren't for sure included as-is (similar to inline keyword)
The standard says:
"7.4 The asm declaration
An asm declaration has the form
asm-definition:
asm ( string-literal ) ;
The meaning of an asm declaration is implementation-defined. [Note: Typically it is used
to pass information through the implementation to an assembler. ]"
So its behaviour is implementation-defined. However in most compilers it is used to pass
instructions directly to the assembler. In other words, in most compilers the passed
instructions are used, and are not considered a suggestion.
--
Ioannis Vranos
http://www23.brinkster.com/noicys