CX51 用户手册----MDU_F120伪指令
来源:互联网 发布:淘宝diy u盘 编辑:程序博客网 时间:2024/05/22 08:02
声明:
1、本翻译仅供个人学习使用,本人没有提供技术支持的义务,也不承担由此引发的任何后果。
2、请勿用于商业用途。
3、英文来自:http://www.keil.com/support/man/docs/c51/。
4、欢迎大家共同与我交流探讨(290207203@qq.com)。
MDU_F120 Compiler Directive
AbbreviationNone.
ArgumentsNone.
DefaultMultiply and Accumulate Unit support is disabled.
µVisionOptions — Target — Use On—Chip Arithmetic Unit.
DescriptionThe MDU_F120 directive enables support for the Multiple and Accumulate Unit (MAC0) of the Silicon Labs C8051F12x devices. When this directive is specified the compiler uses the MAC to increase the speed of the following operations:
Note
- The arithmetic unit does not allow reentrant code and cannot be used in multiple threads or the main and interrupt routines at the same time. You may therefore need to disable the MDU unit with NOMOD_F120.
NOMDU_F120
ExampleC51 SAMPLE.C MDU_F120#pragma mdu_f120
MDU_F120 编译器伪指令
缩写无。
参数无。
缺省乘加单元支持禁止。
µVisionOptions — Target — Use On—Chip Arithmetic Unit.
描述MDU_F120 伪指令使能支持Silicon Labs C8051F12x 器件的乘加单元(MAC0) 。当指定这个伪指令,编译器使用MAC增加下面操作的速度:
左移
- 算术单元不允许重入代码,不能同时用在多线程或主程序以及中断程序中。因此用户需要用NOMOD_F120禁止 MDU 单元。
NOMDU_F120
示例C51 SAMPLE.C MDU_F120#pragma mdu_f120
- CX51 用户手册----MDU_F120伪指令
- Cx51 用户手册----FIXXC800 伪指令
- CX51 用户手册----FLOATFUZZY 伪指令
- CX51 用户手册----INCDIR 伪指令
- CX51 用户手册----INTERVAL 伪指令
- CX51 用户手册----INTPROMOTE 伪指令
- CX51 用户手册----INTVECTOR 伪指令
- CX51 用户手册----LARGE伪指令
- CX51 用户手册----LISTINCLUDE伪指令
- CX51 用户手册----MAXARGS 伪指令
- CX51 用户手册----MDU_R515 伪指令
- CX51 用户手册----MOD517 伪指令
- CX51 用户手册----MODA2伪指令
- CX51 用户手册----MODAB2 伪指令
- CX51 用户手册----MODC2伪指令
- CX51 用户手册----MODDA伪指令
- CX51 用户手册----MODDP2伪指令
- CX51 用户手册----MODH2伪指令
- C# 窗体间传值方法大汇总
- Failed to convert from type java.lang.String to type java.util.Date for value………解决办法
- cvSetImageROI和cvResetImageROI
- 【insigma】跟踪调试技术
- ruby 文件读写操作
- CX51 用户手册----MDU_F120伪指令
- SQL Server 2008 跟踪数据更改
- 大话设计模式-装饰者模式
- 心雨中调用Discuz论坛IE6中代码出现乱码
- oracle 归档命令
- 项目中知识点细节
- POJ 2777:Count Color——线段树
- 动软代码生成器
- 十年学会程序设计