what is the purpose of __ASSEMBLY__?
It is useful when assembly codes and C codes share the header files. Assembler can preprocess #define macros but does not recognize most of C syntaxes such as typedef or function prototypes. By excluding C specific codes by preprocessor when __ASSEMBLY__ macro is defined, the header file can be included by both C and assembly codes.
http://www.cnblogs.com/yc_sunniwell/archive/2010/06/24/1764231.html
+ -
>> <<
> < >= <= == !=
& ^ |
&& ||
本文探讨了__ASSEMBLY__宏的作用及其如何帮助C与汇编代码共享头文件。此外还深入解析了C语言中volatile关键字的意义及用法,并附带提供了C语言运算符的优先级表。
1091

被折叠的 条评论
为什么被折叠?



