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

c89c51f120

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??

Parents
  • "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!

Reply
  • "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!

Children
No data