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.
I have many C-files in the project. I would like to include inline assembly in some files so I do this step, - I include assembly code between "#pragma asm" and "#pragma endasm" - I include "#pragma src" on the top of that file. when I compile, it said "Fatal Error L210: I/O Error on Input File" "Exception 0021H: Path or File Not Found" It has only 1 error. I try to use this step with the project that has only 1 C-file, it works. So I think it's because of many C-file. One thing that I see is it tell me the same result even though I include only src directive(don't include any assembly code). How should I do? Thank you very much for your suggestion. :)
"Station.src(386): error A8: Attempt to define an already defined label" Again, it will tell you which label it thinks is being redefined - you need to pay attention to this! You need to review the assembler source code (station.src) - including any INCLUDEd files - to find the duplicate definition. Make sure you aren't "manually" defining stuff that is already implicitly defined by the assembler - see the Assembler Manual
Hi After open project with uV2 : 1. Write
#pragma asm . your assembly code here . #pragma endasm