#navi_header|C言語系| // Naked Function Callsの簡単な解説 #more|| #outline|| ---- * サンプルコード * VC++2008 Express Edtion //* Borland C++ Compiler //* MinGW/MSYS //* OpenWatcom Compiler(16bit) //* OpenWatcom Compiler(32bit) //* Turbo C++ 4.0J //* GCC4.1.2 + binutils-2.7.50.0.6 (CentOS5.2) * GCC x86ではないが、ARM, AVRなどのCPU用に "naked" という関数属性がサポートされている。機能としてはVC++2008のそれと同様で、エピローグ・プロローグを省くらしい。 - Function Attributes - Using the GNU Compiler Collection (GCC) -- http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html -- http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Function-Attributes.html #navi_footer|C言語系|