I am using Uvision2. For some reasons I still see the negative value when declared a variable as unsigned interger -- According to the compiler, it supposes to be positive number from 0 - 65536. Here is the sample test code I have used:
unsigned int A = 0; while (1) { printf("\n\r Value= %d", A); A++; }
View all questions in Keil forum