when I use the following test program?I find "printf("c=%d\n",c);" can run correct and printf "c=3",but "printf("Hello world!\n");" not printf the result "hello world":
char a,b; char c; a = 1; b = 2; c = a+b; printf("c=%d\n",c);//this have a problem
when I delete "printf("c=%d\n",c);",printf result is correct and printf the hello word
char a,b; char c; a = 1; b = 2; c = a+b; //printf("c=%d\n",c);//this have a problem printf("Hello world!\n");
SO i think the printf function have some problem?????
the author can you spend some time to solve the problem
thanks
Please attach the program disassembly (output of mips-elf-objdump -S yourprogram.elf).