I have an issue while trying to access the Sharc memory using the index register in this particular way.
.var Test = 100, 200;
i7 = 0;
r1 = dm(Test,i7);
i7 = 1;
r2 = dm(Test,i7);
The above code works fine on the simulator. But it does not work, while connected to the dsp.
( I think the above code was working on the old 21065L Sharc processor, but not on the later SHARC's. )
I would be really thankful if anybody could explain why this is happening.
I would also like to know why this code is working on the simulator but not on the dsp.