声明:
1、本翻译仅供个人学习使用,本人没有提供技术支持的义务,也不承担由此引发的任何后果。
2、请勿用于商业用途。
3、英文来自:http://www.keil.com/support/man/docs/c51/。
4、欢迎大家共同与我交流探讨(290207203@qq.com)。
SRC Compiler Directive
| Abbreviation | None. |
| Arguments | SRC 〚(filename)〛 |
| Default | None. |
| µVision |
|
| Description | The SRC directive creates an assembler source (.SRC) file instead of an object (.OBJ) file. The source file may be assembled with the assembler. Refer to Source (SRC) File for more information regarding assembler source files. The source file is saved as filename if specified. Otherwise, the source file is saved as the path and base name of the C source file with a .SRC extension.
|
| See Also | |
| Example | C51 SAMPLE.C SRC C51 SAMPLE.C SRC(SML.ASM) #pragma src |
SRC 编译器伪指令
| 缩写 | 无。 |
| 参数 | SRC 〚(filename)〛 |
| 缺省 | 无。 |
| µVision |
|
| 描述 | SRC 伪指令生成汇编源文件 (.SRC) ,代替目标文件 (.OBJ)。源文件绝缘提高汇编器汇编。关于汇编源文件的更多信息参考 Source (SRC) File 。 如果指定参数filename ,文件按指定的参数保存。否则,文件按路径,C源文件的基名, .SRC后缀的方式保存。
|
| 参考 | |
| 示例 | C51 SAMPLE.C SRC C51 SAMPLE.C SRC(SML.ASM) #pragma src |
理解SRC编译器伪指令在C51中的应用
本文详细介绍了SRC编译器伪指令在C51中的使用方法,包括其语法、功能、参数设置及示例代码。重点讨论了SRC指令如何创建汇编源文件,替代目标文件,并提供了生成汇编文件的具体步骤。
Note
Related Knowledgebase Articles
1292

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



