• printf problem!!!!
    I have a question as follow: in my project,there is a state: printf("\nplease\n"); and its disassembly is : 140: printf("\nplease\n"); 141: 0x300004E4 E28F0040 ADD R0,PC,#0x00000040...
  • printf problem
    still can't fix my printf problem ... I linked the program without the option to overlay variables and it still didn't work ... does this eliminate the overlay feature as a problem? my putchar...
  • problem with printf
    I have a problem with the following code: #pragma LARGE #include <C8051F120.H> #include <stdio.h> char add(char a) reentrant { printf("Data is %d\n",a); if(a==255) { return 0; } else { return...
  • printf() problem
    Hello, I'm using Keil to write data over the serial port. ubyte b=0x0A; printf("%c",b); with this code I reveive two bytes: “0x0D” and “0x0A” in PC instead of “0x0A”. This happens only...
  • Printf problem..
    Hi, This is my program. int a = 0x0A; printf("%c",a); Why is it that the output from the serial port is 0x0D and 0x0A instead of just 0x0A itself? Thanks..