• Problem with floating point operation
    Please, help me to solve the problem: <source code> bit Result; float Density; Density = 0.55; if(( Density < 0.54999995) { Result = 0; } else { Result = 1; } While after running...
  • does AT89S8252 have floating point operation ?
    Hi, I have to implement a microcontroller application that has to perform sen/cos operations. I believe that the AT92S8252 does not support such operations. Does anyone have any suggestion of microcontroller...
  • Bit Operator
    Hi , A "bit" of a fundamental query. Suppose I declare two bit variables bit MyBit1,MyBit2; I need to do something if both bits are 1. Are these two methods equivalent: if(MyBit1...
  • Logic Operators
    Hi, I need help understanding these operations DEECON=(unsigned char)((adr>>8)&0x01); is adr being shifted to the right? and then? what is &0x01 ...a pointer? while((DEECON&0x80)==0); Explain...
  • about the convert of float
    I want to convert the hex float value in memory into decimal,such as 42F94000H=124.75,which 42F94000H is the hex value,and how can I implement the decimal 124.75 using program,or other cases?