• cast?
    Does anybody know, how one have to cast an operation correctly? And is it necessary to tell the compiler that a constant is unsined long #define dword unsigned long unsigned char ucH; //hours unsigned...
  • type casting?
    Hello, a question about how C166 handles type conversions: I have this: unsigned long c; unsigned char i, d if the following code is executed: c = 20403776; i = 0; d = 3; c += pow...
  • Can I do this cast?
    Hi. I know that Cortex M0 memory transfers must be aligned. Knowing that, I'm still not sure if the code below is safe? It compiles and it works, but I'm not sure if I'm just lucky? unsigned...
  • casting of pointers in c
    Hello again gays. I want to know about casting and type conversion in C programing language . for example how this expression work and what is the return value ? char *strval ; (const char*...
  • problem with casting for arm compiler
    Hi all I have a strange problem when I'm trying to cast buffers by arm compiler. Here an example: char* pbuf; ... unsigned short val = *((unsigned short*)(pbuf+3)); When I compile this code...