11.3.3.8 stack

The stack attribute specifies that a section should be designated for use as the processor stack. On most devices, the stack must always be allocated in local data memory (address range 0x0 to 0x7FFE). On some devices, the stack may be located anywhere in EDS page 1 (address range 0x0 to 0xFFFE). The following attributes may be used in conjunction with stack and will further specify the allocation:

  • address() specifies an absolute address
  • align() specifies alignment of the section starting address