7. Introduction to Object ModulesΒΆ
The assembler creates object modules from assembly code, and the linker creates executable object files from object modules. These executable object files can be executed by an Arm device.
Object modules make modular programming easier because they encourage you to think in terms of blocks of code and data when you write an assembly language program. These blocks are known as sections. Both the assembler and the linker provide directives that allow you to create and manipulate sections.
This chapter focuses on the concept and use of sections in assembly language programs.