• typecast
    To the best of my knowledge the 'if' below should test 2 bytes. What is wrong here void funct(unsigned char *valptr) { if (((unsigned int)*valptr) != 0) generates 0012 8F82 MOV DPL,R7 0014 8E83...
  • typecast
    To the best of my knowledge the 'if' below should test 2 bytes. What is wrong here void funct(unsigned char *valptr) { if (((unsigned int)*valptr) != 0) generates 0012 8F82 MOV DPL,R7 0014 8E83...
  • volatile int typecast return value. Could this make problem?
    Hello experts, I'm a beginner of embedded system development. I have question.about difference of two code. at first, suppose there is function like int SomeFunction(void) { ...... return...
  • volatile int typecast return value. Could this make problem?
    Hello experts, I'm a beginner of embedded system development. I have question.about difference of two code. at first, suppose there is function like int SomeFunction(void) { ...... return...
  • __packed typecast
    Hello all, Previously i was using MDKARM 4.0 and now i've upgraded to the 4.7. I am writing the program for LPC17xx. In the previous version i was using unsigned long long data type for 64 bit data...