• complement of Int
    is there any function that will complement the variable. e.g int i = 0xAA complement of i = 0x55
  • single bit twos complement
    what do you expect the result to be? typedef struct { signed int bit:1; } T_oddity; T_oddity oddity; int foobar( int arg ) { oddity.bit = arg; return oddity.bit; } void foochocolate ( void...
  • XC 167: 2s complement fractional format
    Hello, I'm trying to use 2s complement fractional format in XC 167 a and I have following problem with multiplication: /*2s complement fractional format - multiplication test*/ #include <XC167.h>...
  • Compile char as an unsigned char
    Hello, Can anyone tell me how to instruct Keil to compile char's as unsigned char's by default? I know that there are some help topics on this issue, but they seem to be giving a precompiler...
  • EC166 and unsigned char/signed char
    Hi to all, I have in use the EC++ Compiler from Tasking and want to change my whole EC++ project to KEIL. I tried to compile some files with the KEIL EC166 but I always get the following error: ---...