文件名称:C51-123
介绍说明--下载内容均来自于网络,请自行研究使用
C51的一些误区和注意事项(ZT)
1)C忌讳绝对定位。 常看见初学者要求使用_at_,这是一种谬误,把C当作ASM看待了。在C中变量
的定位是编译器的事情,初学者只要定义变量和变量的作 用域,编译器就把一个固定地址给这个
变量。怎么取得这个变量的地址?要用指针。比如unsigned char data x 后,x的地址就是...
-C51 some errors and attention to the business (ZT) 1) C taboo absolute positioning. See beginners often require the use of _at_, this is a fallacy, ASM C as a treat. C variables in the positioning of the compiler things, as long as the definition of beginners variable and the variable scope, Compiler put a fixed address to this variable. How the variables made the address? Use indicators. Unsigned char data such as x, x is the address ...
1)C忌讳绝对定位。 常看见初学者要求使用_at_,这是一种谬误,把C当作ASM看待了。在C中变量
的定位是编译器的事情,初学者只要定义变量和变量的作 用域,编译器就把一个固定地址给这个
变量。怎么取得这个变量的地址?要用指针。比如unsigned char data x 后,x的地址就是...
-C51 some errors and attention to the business (ZT) 1) C taboo absolute positioning. See beginners often require the use of _at_, this is a fallacy, ASM C as a treat. C variables in the positioning of the compiler things, as long as the definition of beginners variable and the variable scope, Compiler put a fixed address to this variable. How the variables made the address? Use indicators. Unsigned char data such as x, x is the address ...
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 31767661c51-123.rar 列表 51.pdf