void main()
{
uchar temp = 0;
int ii;
uchar tt,tt2;
uchar a = 0, b = 0, c = 0;
float f = 123.456;
ii=653;
a = f;
f = f - a;
f = f * 1000;
b = (uchar)f;
_nop_();
b = ((uchar)f / 100); //???
while(1)
{
b = b + 1; //当执行到这句时,b马上变为2,执行完这句后b=3,由此可见,编译器在仿真时没有更新b的值。
}
}