1、经过检验,除个别字符没有使用ASCII码外。没有问题。
2、常用的表达如下:
#include
main()
{
if(DBYTE[0x20]>=DBYTE[0x30])
DBYTE[0x40]=DBYTE[0x30];
else
DBYTE[0x40]=DBYTE[0x20];
while(1);
}
仅供学习,毫无用途。
3、更理想的表达如下:
(无需关注底层。否则又回到汇编啦。)
unsigned char i=1,j=2;
unsigned char *p1,*p2;
p1=&i;
p2=&j;
if(*p1!=*p2)
*p1=*p2;