• problem with unsigned long variables
    Hello, After two years of happy working with the keil C166/C167 compiler I've just ran into a problem I don't understand / can't solve. Running phytec kitcon 167 Memory model Hlarge Declared two...
  • variables with type unsigned long problem
    Dear All: When I compile the the code with the statement: The type of short_idx is unsigned short. Row1= (short_idx * 64) >> 8 >>8; If the value of short_idx is 2048, the Row1 should...
  • unsigned long long undefined identifier.
    I m integrating TCP/IP stack and compiling it with C166 Kiel compiler. The TCP/IP stack is from microchip. I m getting the error "GENERICTYPEDEFS.H(144): error C27: illegal type specifier" line...
  • Converting unsigned char[] to long?
    How can you access the individual bytes making up a variable of type long? What I need to do is move a 24-bit (3 bytes) unsigned char array into a long variable. An example: unsigned char a[3]; unsigned...
  • unsigned long question
    Hello all, I guest this issue has something to do with integer promosion or something related but still I don't fully understand this: I have 2 unsigned long integers containing an equal value. However...