This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

convert c file to hex file

pl tell me how to convert .c file to .hex file.
even after compiling the c file no hex file is created.
the simulator that i am using uses only hex files.
so i need to convert this into hex file.
can u pl help me

Parents
  • Your scheme is terribly inefficient. Instead, you should just assign a number to all possible replies. Since this question, and a few others, are extremely common, Huffman-coding the response index is clearly called for.

    Therefore, the answer to the original question should simply be: 6.

    Jon can help by maintaining the Huffman table on the Keil website. And perhaps the forum software could be smart enough to parse the responses and just link the appropriate table entry for convenience.

Reply
  • Your scheme is terribly inefficient. Instead, you should just assign a number to all possible replies. Since this question, and a few others, are extremely common, Huffman-coding the response index is clearly called for.

    Therefore, the answer to the original question should simply be: 6.

    Jon can help by maintaining the Huffman table on the Keil website. And perhaps the forum software could be smart enough to parse the responses and just link the appropriate table entry for convenience.

Children