DSPRelated.com
Forums

ARn vs. XARn addressing

Started by Christian Narvaez May 8, 2007
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