DSPRelated.com
Forums

Allocating variable to different segments

Started by sant...@isac.gov.in August 9, 2006
Dear All,
I would like to know how to allocate vaiables to a particular
segment in PM or DM when the code is written in C and cross-compiled
using g21k (EZ-LAB Development System, SHARC ADSP 2106X, 1996
edition). To ellborate, if X, Y, Z are three global variable, I would
like to allocate X in DM Seg1; Y in PM Seg 2, and Z in DM seg 3.
regards
SS