Putting Variables at a Specific Address, CW6.3

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Putting Variables at a Specific Address, CW6.3

529 次查看
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 回复

378 次查看
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 项奖励