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.

DSP 的地址访问



  DSP 分 word address 和 byte adress  ,我看到的资料都是访问 word adress 的  如下

unsigned int org,cnt,block,offset,tmp,i;
org = *(unsigned int *) 0x8000;
cnt = *(unsigned int *) 0x8001;
block = *(unsigned int *) 0x8002;
offset = *(unsigned int *) 0x8003;

如何访问byte adress  ?

word address 对应 一个2个字节,byte adress 对应1个字节,有何关系?

如果byte adress 是偶数,将(byte adress/2)转换成word address所对应的16位数据的高八位就是byte adress地址的空间的值???