Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I link object files or static libraries into executable with flat assembler?

0
Posted

Can I link object files or static libraries into executable with flat assembler?

0

No – this is the job of a linker, not assembler. Though flat assembler is able to output some types of executables directly, it has nothing to do with linking – it just formats the output code to be an executable file instead of object or flat binary, with the general rule that output code is always generated in the same order and way as it is defined by source. But if you prefer to work with many modules and libraries, you should use the object output of flat assembler, and then link it into final executable with some linker.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123