Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).
Hello Christian, Iam sure, this is quite late from the time you have posted this query, but were you able to find a solution for your issue? I guess, ARn used in such addressing modes, by default include XAR as well. However, i would like to know, if there is something i missed to understand. Would be good to understand, more on the issue and the solution. Thanks, Gayathri Hello: >I am starting to work with assembly for the c5000 (5009). >I am working on 2 buffers in the following way: >..... >RPT CSR >MACM *AR0+, *AR1+, AC0 >..... > >The addresses are passed as C function parameters with AR0 and AR1. >The problem is that the buffers that I am pointing with AR0 and AR1 are >in an external SDRAM (addresses are longer than 16 bit), so the MAC wont >work. >I understand that I can address such a buffer with XAR0 and XAR1, but >how can I do that with teh MAC instruction?? > >Thanks for the help. > >Christian Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
| HI, It is true that extended part of ARn's are taken as default for addressing but How can complier know that I have to generate a address which is more than 16 bits. This can be done with some options at build time.(build options) memory model should be large or far what ever you say. This can fix the problem. if it didn't then reply to mail id. pradeep. --- On Sun, 9/3/08, g...@hotmail.com <g...@hotmail.com> wrote: From: g...@hotmail.com <g...@hotmail.com> |