This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

#pragma DATA_SECTION



hello, I'm study dsp not long time. so I  have some questions for dsp. now i need use "#pragma DATA_SECTION "this sentence to change following code: 

BYTE* newing=new BYTE[wid*heg];
memest(newing,0,wid*heg);

i check "wid" and" heg" both equal to 71 on debug ,but i want to change "new" by "#pragma DATA_SECTION ", how i can do that,i want to set a static memory to "newing",so i need some suggestions.    IN ".cmd ' i  always set   "SL2"  give this internal memory ,but in  functions i  don't how to change this  code grammar. so i need help .please!!

thank you!!

luo