Returns the default memory region for the section type
Syntax
lscript def-mem <memory-type>
Return the default memory-region of the section type.
Options
Option | Description |
---|---|
-code
|
Return default code memory. |
-data
|
Return default data memory. |
-stack
|
Return default stack & heap memory. |
Returns
Return the default memory-region of the section type.
Example(s)
lscript def-mem -stack
Return default stack & heap memory-region.