5. Introduction to Object ModulesΒΆ

The compiler creates object modules from C/C++ code (with assembly code used internally), and the linker creates executable object files from object modules. These executable object files can be executed by an C29x device.

Object modules make modular programming easier because they encourage you to think in terms of blocks of code and data when you create an application. These blocks are known as sections. The linker provides directives that allow you to create and manipulate sections.

This chapter focuses on the concept and use of sections.