|
|
Here are some guidelines for writing asm macros.
There are two escape mechanisms for the matching process. If the compiler encounters a storage mode of error while attempting to find a matching pattern, it generates a compile time error for that particular asm macro call. If the asm macro definition lacks an error storage mode and no pattern matches, the compiler generates a normal function call for a function having the same name as the asm macro. Note that such a function would have to be defined in a different source file, since its name would conflict with that of the asm macro.