文件名称:098520
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:796byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
将此源文件加入要编译的工程文件,
//将光标指向此文件,选择右键菜单“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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.