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, i am working on silab's 89c51F120, can i insert assembly code in between the c code?? now i am writing the assembly code in a file with A51 extension and ading it to the project and then calling those function in c program. can i directly insert wherever i want in c code??
"now i am writing the assembly code in a file with A51 extension and ading it to the project and then calling those function in c"
That is by far the best way to do it. There is no reason to change.
You can put inline assembler in your C51 source, but there are several reasons not to do it - so don't!