c5117.txt

来自「dsp&c51的编程,从小百合上down的」· 文本 代码 · 共 26 行

TXT
26
字号
发信人: reflection (似水流年), 信区: EEtechnology 

标  题: C51 Primer (16) Conclusion 

发信站: 南京大学小百合站 (Wed Nov 24 12:06:55 1999), 转信 

  

  

16 Conclusion 

The foregoing should give a fair idea how the C51 compiler can be used in re 

al embedded program development. Its great advantage is that it removes the 

necessity of being an expert in 8051 assembler to produce effective programs 

. Really, for the 8051, C51 should be viewed as a universal low to medium le 

vel language which both assembler and C programmers can move to very simply. 

 Access to on and off-chip peripherals is painless and the need for assemble 

r device-drivers is removed. It will allow well structured programs devoid o 

f the dreaded goto or LJMP. In fact most of the extra code generated by C ov 

er an assembler is employed in ensuring good program structure rather than j 

ust inefficient use of the 8051 instruction set. It offers true portability 

from the 8051 to other processors and, unusually, the reverse is also true. 

Thus existing functions can be re-used, so reducing development time. 

---------------------------------------------------------------------------- 

---- 

  

-- 



Ours is essentially a tragic age, so we refuse to take it tragically. 

  

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?