[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - Memory & linker questions
Page 1 of 1

Memory & linker questions

PostPosted: Tue Mar 08, 2016 9:15 am
by elysium5290

Re: Memory & linker questions

PostPosted: Tue Mar 08, 2016 2:14 pm
by sebraa
To the hardware, the local memory is divided into four memory banks of 8 KB each. But to the compiler, by default, the local memory is one single contiguous 32 KB block of memory.

The first 0x100 bytes of local memory are eSDK reserved (interrupt vector table, startup code etc). The stack is put at the end of local memory (0x8000 and growing downwards). Code, data and stack may span as many banks as needed.