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

How do you add in-line assembly code to your c code?

I would like to be able to drop into assembler in the middle of a c program, but can't find any way to do this. The C166 compiler manual has some examples of using ASM and ENDASM, but even when I enter the example code exactly as given in the book, the compiler generates "error C25: syntax error near '<EOF>'. Normally, in-line assembly is a very uncomplicated process. Is in-line assembly even possible with the C166 compiler?

Thanks

0