To reserve space for the stack and heap, arithmetic operations are performed to set the values of the symbols used by the runtime.
The Linker Command File (LCF) performs all the necessary stack and heap initialization. When Stationery is used to create a new project, the appropriate LCFs are added to the new project.
See any Stationery-generated LCFs for examples of how stack and heap are initialized.