12 2018 档案

C166 -MDH
摘要:Writing a C logic for moving MDH register contents after MUL instruction http://www.keil.com/forum/5231/ unnecessary code generation http://www.keil.c 阅读全文

posted @ 2018-12-11 09:57 xihong 阅读(240) 评论(0) 推荐(0)

C166 8位字节位运算赋值-代码优化
摘要:8位字节位运算赋值优化特记录下: unsigned short func1(){ unsigned short a; return a;} unsigned char func2(){ unsigned char a; return a;} unsigned short u_16;unsigned 阅读全文

posted @ 2018-12-10 22:01 xihong 阅读(321) 评论(0) 推荐(0)

c166 -div
摘要:unsigned short a=10; unsigned short b; unsigned short c;unsigned long d; b = (unsigned short)(d/2400)/60; /*ok */ //sbit p3_0 = P3^0; unsigned long fu 阅读全文

posted @ 2018-12-09 19:58 xihong 阅读(238) 评论(0) 推荐(0)

Fixed-point multiplication (C166 A*B/B)
摘要:Read-Only AuthorAndrew Neil Posted22-Oct-2003 09:34 GMT ToolsetC166 RE: Fixed-point multiplication Read-Only AuthorMike Kleshov Posted22-Oct-2003 09:5 阅读全文

posted @ 2018-12-09 17:47 xihong 阅读(319) 评论(0) 推荐(0)

C166 结构按字节访问的设置
摘要:PACK Compiler Directive Home » Compiling Programs » Directives » Reference » PACK None. A decimal number (1 or 2) enclosed in parentheses. PACK(1) Opt 阅读全文

posted @ 2018-12-07 20:35 xihong 阅读(181) 评论(0) 推荐(0)

导航