• Weird behaviour of 'printf' with unsigned char
    I wrote a small program to test the behaviour of 'printf' with unsigned char. It contained just the following loop: for (i=0; i<10; i++) { printf("i = %d\n", i); } Now when I watch the serial...
  • Problem writing DWORD xdata
    I just noticed this recently... whenever I have a xdata DWORD - 32 bits - and I try to set it to a constant value (or any value I think), the assembly that gets generated seems all messed up for such...
  • About AgsiSetSFRValue(DWORD dwValue)
    hello, I am engaged in developing a new SPeriDLL.dll(dialog) and I can't understand the following function and its specification: BOOL About AgsiSetSFRValue(DWORD dwValue); "This function is used...
  • HANDLE and DWORD variable types
    Is there a way to use the HANDLE and DWORD variable types with the Cx51 & 8051? And if so, do I need to use a certain '#include'? Thanks!
  • Weird screen output from DOS/4GW
    All of a sudden my C51 v5.50 is spewing out screen output like this: [Enter loader...In loader] PRIVATE ALLOCATION: LA 1F40000 - 270 Bytes - handle 1721DC0 PRIVATE ALLOCATION: LA 1F50000 - 46960 Bytes...