随笔分类 -  小知识普及

摘要:while(1){code unsigned int a[]="12345abcdef";uchar *p;p=a;SBUF=*p;while(!TI){_nop_();}p++;if(*p=='\0')break;TI=0;} 阅读全文
posted @ 2013-08-05 13:37 智者顺势而为 阅读(472) 评论(0) 推荐(0)
摘要:昨天看到一则程序if(!in_pin&&(TH0&0x80)==0),以为&&的优先级比==高,没想到不是,所以今天决定贴上优先级表,以防自己以后出错了: 阅读全文
posted @ 2013-08-05 11:31 智者顺势而为 阅读(148) 评论(0) 推荐(0)