Hi all,
I am using 8051-based uC with 32 KBytes Flash ROM, 256 Bytes DATA Memory, 2K Bytes XDATA Memory. Moreover i am using the library file from third party that uses some fixed location in XDATA. But my application also eventually allots the same location to my application specific variables and so it results in abnormal behavior. So is it possible to restrict my application so that it will not allocate any variables in that fixed memory area say 0x660 to 0x6FF.
i am using PK51 development kit with c51 v8.09 and lx51 v4.17.
regards barani.
While your choice of a subject line is rather misleading, the answer to your actual question is: yes, you can do that. You can reserve any memory range from being used by your program. See the "reserve" directive in the linker manual.
ok. i have tried using these option in uV3 and found working as expected. thanks a lot