hex file

dear friends,

i want to know that there is any compiler that can generate the hex file from a code whose half of the part is written in “C” and some of the part is written in “assembly”…i know it’s hard to have such a compiler but is dr any other alternetive to generate hex file from such a code…

Any of the AVR compilers will be able to cope with programs written in C and assembler. You need to find out which compiler the code was written for, and use that.

Sir first of all thanks for reply

actually we have installed winAVR and have avr studio v4 and try to generate hex file through it but studio v4 allow us either in avr GCC or avr asm. And as I told our have both C and asm languages.

Thanks

Compile/assemble the files and use the linker to combine the object files into a hex file. It’s in the documentation.

Doesn’t WinAVR support inline assembly?? I thought I had used it in a project a while ago, but I could be wrong. Look into it. AVR Studio might too.

Denis.