51计算器程序#include#include#defineucharunsignedchar#defineuintunsignedintsbitlcden=P3^4;sbitlcdrw=P3^6;sbitlcdrs=P3^5;ucharnum,temp,jia=0,cheng=0,chu=0,jian=0,qing=0;uintkey,key1,shu;ucharfuhao,flag1,flag=0;uchartable[]={0x3F,0x06,0x5B,0x4F,0x66,0x6D,0x7D,0x07,0x7F,0x6F,0x00,};v