We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
HI all , i have c programme its around 600lines of coding , bcos of the code size constraint i have to convert it to asm , i used src ie #pragma src.when i compiled i got error 210,input file error.but when i searched *.src file the code is converted to assembly and i added in my project then compiling shows no errors but still iam not getting the output. regrads john
"i have c programme its around 600 lines of coding , bcos [sic] of the code size constraint i have to convert it to asm" If your 'C' coding is as lazy as this (how hard is it to write "because" properly?), it's not surprising that you get bloated code! Assembler is not magic - if you can't write efficiently in 'C', you may well end up getting worse results in assembler! Have you reviewed the efficiency of your 'C' code before deciding to resort to assembler? There was a recent thread here on writing efficiently in C51, and the Manual has a whole chapter on it. What optimiser settings are you using?
"There was a recent thread here on writing efficiently in C51" Here it is: http://www.keil.com/forum/docs/thread4066.asp ...ans it was actually your thread! Did you follow the suggestions?
Hi Andy neil thanks for your suggestions ,well i started optimizing my code . Regards john e