dear sir; i use " c51.exe file.c SRC "for compile c source to assembly(file.a51). then "A51.exe file.a51" for convert to object code . but this produre is wrong. please help me
Why don't you just create a Library??? even simpler: give him the .obj file Erik
You can output ASM files from the compiler. you can not create a HEX file for the asm files. With what asembler? Why does it fail. How are you asembling and linking? How far could you get with "It does not work".
No - now you've lost me completely!
dear sir; you asked me"why do you want to convert file.a51 to file.obj? because when i deliver to him. he wants to convert file.a51 to hex file and download into mcu.i dont know do you understand me or not?
Why don't you just create a Library???
Why have you started a new thread? "i use 'c51.exe file.c SRC' for compile c source to assembly (file.a51)." Good, that's right "then 'A51.exe file.a51' for convert to object code" Why?? I thought you said you want to convert to Assembler - not to Object?!! "but this produre is wrong. please help me" How can anyone help you if you don't say why you find it to be "wrong"??!! What did you expect to happen? What actually happened?
but this produre is wrong. Is it? How do you know that? Did you so much as look at the documentation of the SRC directive?
View all questions in Keil forum