Multiple assembler modules and ENDMOD
Technical Note 63124
Arkitekturer:
ARM
Komponent:
assembler
Uppdaterad:
2015-11-06 11:27
Introduction
There are major changes in IAR Embedded Workbench for ARM between version 4.x and version 5.x.
The diagnostic...
Warning[24]: ENDMOD directive is ignored (only one module is allowed)
... will be generated for the assembler directive ENDMOD
since this directive has been removed from IAR Assembler version 5.x. In version 5.x you are only allowed to have one module in each assembler source file.
Solution
There are two ways to get around this;
- Create one assembler file for each module in the original file.
- Merge two or more more modules into one assembler module.
To read more about modular programming and the syntax of the module directives, see the IAR Assembler Reference Guide for ARM.
Migration
It is also highly recommended that you have a look at chapter "The migration process" in the IAR Embedded Workbench Migration Guide. This will give you a good picture of what has to be done to migrate from version 4 to version 5 of IAR Embedded Workbench for ARM.
All product names are trademarks or registered trademarks of their respective owners.