• uint64_t values in µVision Watch window
    Found that uint64_t values in Watch window of Keil uVision (V5.24.1) are always displayed as "0x0". Have a screen shot to show, but cannot attach it here. Best regards Juergen
  • 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...
  • __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...
  • error : Unknown type name "uint8_t"
    Hi, I am using keil uVision4. When i compile a keil project for STM32F10x controller it is showing the error :-error : Unknown type name "uint8_t" .In my project files the header "stdint.h" is not...
  • Typecasting pointer to a bit field
    Hi, Is it possible to typecast a pointer to a variable in xdata to a bit field with 13-bits? I've tried this, char xdata i _at_ 0x300; struct { unsigned short addr : 13; unsigned char flag1...