This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to add assemblely file in same Group

My code is all edit by assembly ,My solution is only one assembly file in Project,others using #include function.It's really unconvenience,Any one has solution ?

Thanks in advance

  • You can have code distributed over several assembler sources just like you can do it with C. There's no major conceptual difference:

    1) For each assembly source, produce a "header" file (commonly using the extension .inc, in asssembly contexts). This file contains EXTERN declarations for all objects defined by the source file that are (meant to be) used by other source modules.

    2) Each source file $INCLUDE's its own header file, and all others it uses exported objects from.

    3) Enter all assembly source files into the project.

    Learn how to work with the linker, and what assembler keywords like EXTERN and PUBLIC are used for.