CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - assembly source code menu
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
Network Marketing
Management
E-commerce
Business guide
Business plan
Successful incentive
Human Resources
Report papers
Marketing materials
Consulting and training
Website
Software Engineering
File Format
Technology Management
Industry research
Program doc
Other
Search - assembly source code menu - List
[
File Format
]
098520
DL : 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).
Date
: 2025-12-21
Size
: 1kb
User
:
nanfang
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.