• Calling convention
    I have some questions. What is the calling convention? What registers are used to pass parameters? What registers are used to return a result? What registers need to be preserved during a call...
  • 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...
  • problems with unsigned long
    Hi, I'm having a problem using unsigned long. Im using the LARGE memory model. unsigned long largeWait; largeWait = 10000; while(largeWait--); when I run this on my chip I never exit the...
  • Filename conventions in uV2 v2.36
    This is not a bug, but it bugs me! In my M51 map file, some files are shown on the included command line as residing in ".\filename.obj" and others as just "filename.obj", even though they are all...