여러 어셈블러 모듈과 ENDMOD

기술노트 63124

아키텍처:

ARM

컴포넌트:

assembler

업데이트:

2018-02-28 오전 1:44

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.

죄송하지만, 당사 사이트에서는 Internet Explorer를 지원하지 않습니다.보다 편안한 사이트를 위해 Chrome, Edge, Firefox 등과 같은 최신 브라우저를 사용해 주시길 부탁드립니다.