I am working on a project that is predominantly C based, but I need to add a single assembler file. The assembler code is very simple, but every time I try to build the project I get the error "A23014:Not a LISA/HCS12Z instruction or directive". The file has been named with a .asm extension, and is in the Sources folder. I tried reducing the assembler code down to a bare minimum (below). The error is complaining about the line "XDEF SpSub". Are there any specific project setup options that could explain this problem?
XDEF SpSub
SpSub:
nop
SpSubEnd:
Hi Gordon.
Can you please send me a demo project to show this error? Thanks.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Jennie
I found the problem. It was something to do with adding an indent to the XDEF directive. After I did this, the error went away!
Regards
Gordon
Good to know your problem was solved.
Thanks for the sharing. :-)