Putting Variables at a Specific Address, CW6.3

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Putting Variables at a Specific Address, CW6.3

524件の閲覧回数
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

ラベル(1)
タグ(1)
0 件の賞賛
1 返信

373件の閲覧回数
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 件の賞賛