• The worst comment ever?
    Just running through some code written by someone no longer involved in the project and came across this: JobInProgress = true; // Obviously! Undoubtedly, comment style and reasoning can vary...
  • signed bit fields
    Does anybody knows, Keil C compiler V7.xx supports bit fields with signed types or not? The code always generated same as for unsigned types. This is compiler bug or feature? My code compiled with Keil...
  • 64 bit integers (uint64)
    Hi. Is it possible to use 64 bit integers in C51? Cheers Martin
  • BUG with bits in integer variable
    There is a BUG in the compilation of a bit definition: unsigned int bdata my_int; sbit bit15 = my_int ^ 15; sbit bit7 = my_int ^ 7; void main() { my_int = 0x8000; if(bit15) { // Here we shall...
  • 64 bit integers
    Has anyone run across a simple 64 bit math library for a c166? I need an Add(32 to 64), Shife_Right, and a Negate() funtion. Thanks