文件名称:098520
介绍说明--下载内容均来自于网络,请自行研究使用
将此源文件加入要编译的工程文件,
//将光标指向此文件,选择右键菜单“option for file asm.c ”,
//将属性单“properties”中的“Generate Assembler SRC File”“Assemble SRC File”
//两项设置成黑体的“√”将“Link Public Only”的“√”去掉,再编译即可。
//用此方法可以在c源代码的任意位置用#pragma asm和#pragma endasm嵌入汇编语句。
//但要注意的是在直接使用形参时要小心,在不同的优化级别下产生的汇编代码有所不同,
//可以察看对应的.lst文件看一看,得到正确的优化级别后,#pragma OT(x,speed)锁定
//优化级别(这里的值是0-9)。
-To compile this source file to join the project file,// the cursor point to this file, select the context menu " option for file ' asm.c' " ,// the property of a single " properties" in the " Generate Assembler SRC File" " Assemble SRC File "// set bold of the two" √ " will be" Link Public Only " a" √ " to remove, and then you can compile.// This method can be anywhere in the c source code to use# pragma asm and# pragma endasm embedded compilation of statements.// But note that in the direct use of formal parameter when careful optimization at different levels of the assembly code generated under different,// you can look at the corresponding. Lst file to see get the correct optimization level, the# pragma OT (x, speed) lock// optimization level (where the value is 0-9).
//将光标指向此文件,选择右键菜单“option for file asm.c ”,
//将属性单“properties”中的“Generate Assembler SRC File”“Assemble SRC File”
//两项设置成黑体的“√”将“Link Public Only”的“√”去掉,再编译即可。
//用此方法可以在c源代码的任意位置用#pragma asm和#pragma endasm嵌入汇编语句。
//但要注意的是在直接使用形参时要小心,在不同的优化级别下产生的汇编代码有所不同,
//可以察看对应的.lst文件看一看,得到正确的优化级别后,#pragma OT(x,speed)锁定
//优化级别(这里的值是0-9)。
-To compile this source file to join the project file,// the cursor point to this file, select the context menu " option for file ' asm.c' " ,// the property of a single " properties" in the " Generate Assembler SRC File" " Assemble SRC File "// set bold of the two" √ " will be" Link Public Only " a" √ " to remove, and then you can compile.// This method can be anywhere in the c source code to use# pragma asm and# pragma endasm embedded compilation of statements.// But note that in the direct use of formal parameter when careful optimization at different levels of the assembly code generated under different,// you can look at the corresponding. Lst file to see get the correct optimization level, the# pragma OT (x, speed) lock// optimization level (where the value is 0-9).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
嵌入汇编的方法.c