I dont use printf() function in my project, but I check the output file .m51, I saw the printf() function occupy my code space in common area(with bank switch). and you know it take large space. can you tell me how I remove off this moudle ? below is my .m51 content. .. C:\KEIL\C51\LIB\C51L.LIB (PRINTF) .. DATA 0018H 0005H UNIT ?DT?PRINTF?PRINTF BIT 0020H.0 0001H.1 UNIT ?BI?PRINTF?PRINTF .. XDATA 60F0H 0028H UNIT ?XD?PRINTF?PRINTF .. CODE 1414H 0365H UNIT ?PR?PRINTF?PRINTF
Hi Harris, it's the same thing in my project - but I use the sprintf function. Maybe sprintf calls printf...just a thought... Bye, Martin
Hi Martin, Thanks a lot.