Dear sir; I had written program with Keil and i dont like to give it to other but i want to give assembly to him that he can compile this assembly code to HEX. please guide me how can i converted it to assembly for compilng it to hex. As you mentioned Keil have a project.lst includes C program and assembly but i couldnt use it for compile to hex.(Do you understand me or not?) j.majd@engineer.com
"The library suggestion has been made repeatedly and the OP has repeatedly stated that he has to supply source." No, he hasn't. Maybe it's just a language problem, and he meant to - so I'm just mis-reading it. But, as far as I can see, all he has stated is that he needs to supply something that the recipient won't understand. "Ignore him when he explains why your solution is inappropriate" He has not given any explanation whatsoever of why a Library is inappropriate. "... knowing nothing about his application or situation" That cuts both ways - without knowing about his situation, we can't say which is better. Maybe a Library is better - he hasn't given any reason to believe otherwise!
"No, he hasn't." Oh, c'mon. Look at his statement in the context of your questions and I think it's perfectly clear.
"Look at his statement in the context of your questions and I think it's perfectly clear." No. I disagree. All he has said for certain is that he has to give something without giving the 'C' source. It is not clear that assembler is a specifc requirement - it looks very much to me like it was just his first idea... Note also that I have answered his specific question - "how to convert 'C' to assembler" - and I have also given him my suggestion that a Library would better achieve his aim of keeping the source secret. And I explained why. Given that he's had all this for free, don't you think it would at least be courteous of him to say why a library is not appropriate to his situation? After all, this is a Discussion forum - not just a "free answers" shop!
"Given that he's had all this for free, don't you think it would at least be courteous of him to say why a library is not appropriate to his situation?" At the expense of sounding like a stuck record myself, he has explained this. He said he has to supply source, therefore a library would be inappropriate.