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??±??????ò?à?????í??????