标题: keilC51 ???ù??1??×????ò???¨????1?????¨?????·??????    
  本主题由 admin 于 2006-5-5 23:49 移动 
zing
论坛支持团队



UID 79
精华 0
积分 710
帖子 701
阅读权限 10
注册 2004-8-30
状态 离线
发表于 2004-9-8 01:28  资料  个人空间  短消息  加为好友 
keilC51 ???ù??1??×????ò???¨????1?????¨?????·??????    

C51 ???ù??1??×????ò???¨????1?????¨?????·??????     
????2?????ù????C51????
1?? ???ù??1??×????ò???¨????1?????¨?????·??????
   ?????? INT BCD2HEX?¨INT XX???¨????1000H
2?? HOW??EEPROM ?????¨????????·?1×?·?????
   ????200H??·??°COPYRIGHT 2001-11?±

???? ?????¨????±????¨??...

1???????¨????
??????°?C?????? tools.c ????????
int BIN2HEX(int xx)
{
  ...
}
·???CODE MEMORY??0x1000??????±à?????¤???????ó?ò?????¤????M51????????
* * *   C O D E   M E M O R Y   * * *
???????????¨??????????????????????????
CODE    xxxxH     xxxxH     UNIT         ?PR?_BCD2HEX?TOOLS
???ó????
Project->Options for Target ...->BL51 Locate??Code
????????????????
?PR?_BCD2HEX?TOOLS(0x1000)
????Build????M51???á·???????????·???CODE MEMORY??0x1000????

2??????????±????¨????
??????±????¨?????????????????????????????±?? _at_ ?????ê?????ò??????×÷??
???¤?????¨??????????????????InitVars.c???????????????í??±??????????¨???è??code±?
??????
char code myVer = {"COPYRIGHT 2001-11"};
???ó?????????????¤????±à?????ò??M51?????????¨??????code?????ò??
* * *   C O D E   M E M O R Y   * * *
??????????
CODE    xxxxH     xxxxH     UNIT         ?CO?INITVARS
???ó????
Project->Options for Target ...->BL51 Locate??Code
????????
?CO?INITVARS(0x200)
????±à????????

?à??????????xdata±??????òInitVars.c??????
char xdata myVer = {"COPYRIGHT 2001-11"};
???ó?????????????¤????±à?????ò??M51????????
* * *  X D A T A   M E M O R Y  * * *
??????????
XDATA   xxxxH     xxxxH     UNIT         ?XD?INITVARS
???ó????
Project->Options for Target ...->BL51 Locate??Xdata
????????
?XD?INITVARS(0x200)
????±à?????????à?????????¨??????data/idata??±??????ò?à?????í??????

3???????à??±????ò?????????????????·?¨?????ò??°????·?????????????ò??????







·?????????
顶部
 



当前时区 GMT+8, 现在时间是 2021-9-23 20:13

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
Processed in 0.008618 second(s), 7 queries

清除 Cookies - 联系我们 - 我要委托设计网 - Archiver