| ||||||||
Technical Support Support Resources Product Information | GENERAL: SRC DIRECTIVEInformation in this article applies to:
SYMPTOMSFor the "SRC" directive, the C166 compiler manual states that this directive cannot be used with µVision. How is in-line assembly then added to a C source file? CAUSEThere is a misprint in the manual that creates this misconception. What is actually meant is: there is no "compiler option" in the µVision interface. The SRC directive is active in the C166 Compiler. RESOLUTIONInclude the line: #pragma SRC in the top of your C source file. This generates an assembler file equivalent to your C code, in a new file with the same name as your C file but with an .SRC extension. MORE INFORMATIONLast Reviewed: Friday, July 15, 2005 | |||||||
| ||||||||