Putting Variables at a Specific Address, CW6.3

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Putting Variables at a Specific Address, CW6.3

513 Views
wadehassler
Contributor II

I need (I think) to place a pair of 128-word buffers at FIXED addresses in order to use the MAC 'MASK' in a slowish DSP routine on a 51MM256. What's the best way to do this (not that I've even found a bad way)?

 

Wade Hassler

Labels (1)
Tags (1)
0 Kudos
1 Reply

362 Views
wadehassler
Contributor II

Should have read a bit more:

 

int Stage1[IN_LNG] @0x00804000;    int Stage2[IN_LNG] @0x00805000;   

 ... works just fine for a pair of 4K buffers.

I still don't know if CW will eventually try to put newly-added variables in this same area, because it doesn't know about the memory already being occupied.

 

Wade Hassler

 

0 Kudos