3.5.4 How Does the Compiler Place Everything in Memory?

Assembly instructions and directives associated with both code and data are grouped into sections, and these are then positioned into containers, typically, by a linker script. To see those sections defined and where they have been located, create and check the assembly listing file and the linker's map file.