Hi Karl,
Well, the RAM consists of one 32K block on the S12XDP512 device.
You can access directly 4K RAM at address 0x1000 - 0x2000 and 8K RAM part from 0x2000-0x4000. However this is only 12Kbytes.
Entire 32K RAM can be accessed through pages. There is 4K RAM window at local address 0x1000 - 0x2000 and 8 RAM pages 0xF8 to 0xFF.
On the other hand there is global memory map and 32K RAM starts at address 0xF_8000 and ends at 0xF_FFFF.
NOTE:
In the S12 architecture, the biggest size that an object can have is 16kB. This limitation is imposed by the
CPU local map, where the biggest continuous memory space accessible at a time by the CPU is 16kB. In
the S12 architecture attempting to allocate an object bigger than 16kB results in a linker error.
To reduce this limitation, in the S12X architecture, another method for accessing memory has been
introduced: Global addressing.
More about this in the appnote AN3748 Understanding the Memory Scheme in the S12(X) Architecture
Hopefully the information above can be of help.
regards,
iggi