能让汇编转到c51的初学者有更清晰的认识的一篇文章(An easy to understand article that allows assembler to go to C51).docVIP
- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
能让汇编转到c51的初学者有更清晰的认识的一篇文章(An easy to understand article that allows assembler to go to C51)
能让汇编转到c51的初学者有更清晰的认识的一篇文章(An easy to understand article that allows assembler to go to C51)
An easy to understand article that allows assembler to go to C51
[2005-7-28 18:58:36 By:] | Longchi nine days
Publisher: Albert release time: 2000-09-23 02:18 PM number: 1902
From the FreeIP Dept.
8051 is the representative of the traditional CISC architecture microcontroller, and the PIC is a masterpiece of the modern RISC architecture microcontroller.
Although the RISC architecture is recognized as the mainstream of future microcontrollers, 8051 has accumulated over many years of development, environment, and information
The source, especially the maturation of C Compiler, still has considerable room for imagination in the future.
I hope this is an interactive e-book that can be used for the purpose of discussing and sharing KEIL C51 programming experience.
The current contents are...
Memory
8051 specific memory shape
Special data type
Specifies the absolute address of the variable
Hidden initialization program
Program paradigm
Software simulation of the Single Master I2C interface program
Download the KEIL C51 trial version
8051 specific memory shape
Code reads program memory in MOVC @A+DPTR
Data internal data memory that can be accessed directly
IData accesses internal data memory with Mov @Rn
Bdata can internally store bits (Bit, Addressable)
XDATA accesses external data memory in MOVX @DPTR
Pdata accesses external data memory in MOVX @Rn
Special data type
Bit general bit (bit) variables
Sbit absolute addressing bit (bit) variables
Grammar
Sbit my_flag = location; (location ranges from 0x00 to 0x7F)
example
Sbit EA = 0xAF;
Or a bit (bit) variable declared in conjunction with bdata
Char bdata my_flags;
Sbit flag0 = my_flags ^ 0;
(note that static should not be added before sbit)
SFR special function registers (Special, Function, Register)
Grammar
SFR my_sfr = location; (location ranges from 0x80 to 0xFF)
example
SFR P0 = 0x80;
Specifies the absolute address of the variabl
您可能关注的文档
- 网络用语大全(Encyclopedia of Internet usage).doc
- 网络笑话(Network joke).doc
- 网络语言大全(论坛版)(Network language Daquan (Forum version)).doc
- 网站可用性设计中的30个基础概念(30 basic concepts in Web Usability Design).doc
- 网页色彩搭配技巧(Web page color matching skills).doc
- 网页标题随机显示名言js代码(Web page title random display, famous JS code).doc
- 网营定位(Net camp positioning).doc
- 罕见的刑侦行为心理学(Rare criminal behavior psychology).doc
- 网页设计之配色(Color matching in Web Design).doc
- 罗大伦--益肾元气茶(Romania - kidney tea).doc
- 脂多糖刺激肺血管内巨噬细胞环氧合酶-2表达的意义(Significance of lipopolysaccharide stimulated cyclooxygenase -2 expression in pulmonary vascular macrophages).doc
- 脂类(lipid).doc
- 脂肪丰太阳穴手术专家(Fat rich Temple surgery expert).doc
- 脂肪肝 酒精肝(Fatty liver, alcoholic liver).doc
- 脂肪率(Fat rate).doc
- 脂肪肝与血脂、血糖等相关因素的关系探讨(Study on the relationship between fatty liver and blood lipid, blood sugar and other related factors).doc
- 脂肪肝和酒精肝(Fatty liver and alcoholic liver).doc
- 脂肪肝如何饮食(How does fatty liver eat).doc
- 能吸收甲醛的植物(A plant that absorbs formaldehyde).doc
- 脂肪消耗十大误区(Ten misunderstandings of fat consumption).doc
文档评论(0)