本帖最后由 hsw_21 于 2009-9-21 19:01 编辑
volatile unsigned char PMCON1 @ 0x18C;
/* Definitions for STATUS register */
volatile bit CARRY @ ((unsigned)&STATUS*8)+0;
volatile bit DC @ ((unsigned)&STATUS*8)+1;
volatile bit ZERO @ ((unsigned)&STATUS*8)+2;
volatile bit PD @ ((unsigned)&STATUS*8)+3;
volatile bit TO @ ((unsigned)&STATUS*8)+4;
bit RP0 @ ((unsigned)&STATUS*8)+5;
bit RP1 @ ((unsigned)&STATUS*8)+6;
bit IRP @ ((unsigned)&STATUS*8)+7;
请问怎么让Source Insight 识别并能跟踪这样定义的 PMCON1,CARRY,DC……变量?
试了很久,还是没搞定。谢谢! |