• Unnecessary code changing by compiler
    Initial source code: if( send_u >= 0){ SEND(send_u + 6) send_u = -1; }//if generates following object code: 00C11A9E D7000000 EXTS #0x0000,#1 00C11AA2 F2F418FD MOV R4,DPP3:0x3D18 00C11AA6...
  • unnecessary code generation
    Hello, I'm relatively new in using Keil C166 development system. First tests are successfully so far using the Keil MCB167NET board. As a long time C programmer I'm interested in the quality of generated...
  • floating point
    Hi every body I don't know why I don't have the float part of the temp var. float temp; int H_Value; int L_Value; int value = 55; temp = value / 10; H_Value = (int)temp; L_Value = (int)(temp...
  • Floating Point
    How can I deny a number floating point without utilizat some mathematical operation? How can I take the first 8 bits of the number floating point, those but significant (MSB) or the bit but significant...
  • Floating Point
    How I can deny a number floating point, without using some mathematical operation (eg. :number * (-1)). ?? How can I take the first 8 bits of the number???