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

8051 and keil

how can i include assembly language instuction in c programming

Parents
  • A browse through the compiler manual would quite soon reveal how you can do this.

    A more important question is: why do you think you need to do this?
    Most times when this question is asked at such a basic level as this it's due to a fundamental misunderstanding or miconception of how the tools work.

    Thus it would be helpful if you would explain why you think this is necessary - what are you trying to do that (you think) can't be done in C51, or is an assembler function that you call from C51...?

Reply
  • A browse through the compiler manual would quite soon reveal how you can do this.

    A more important question is: why do you think you need to do this?
    Most times when this question is asked at such a basic level as this it's due to a fundamental misunderstanding or miconception of how the tools work.

    Thus it would be helpful if you would explain why you think this is necessary - what are you trying to do that (you think) can't be done in C51, or is an assembler function that you call from C51...?

Children