Sign in

username:

password:



Not a member?

Search c55x



Search tips

Subscribe to c55x



c55x by Keywords

AIC23 | C5509 | CCS | CSL | EMIF | EVM | GEL | GPIO | HPI | Interfacing | JTAG | McBSP | OMAP | Omap15 | OMAP59 | RTDX | SDRAM | TMS320VC5509 | USB | XDS5

Ads

Discussion Groups

Discussion Groups | TMS320C55x | Re: ARn vs. XARn addressing

Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).

  

Post a new Thread

Re: ARn vs. XARn addressing - gays...@hotmail.com - Mar 10 6:36:10 2008



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



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: Re: ARn vs. XARn addressing - PRADEEP KUMAR - Mar 10 11:46:04 2008






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>
Subject: [c55x] Re: ARn vs. XARn addressing
To: c...@yahoogroups.com
Date: Sunday, 9 March, 2008, 7:37 PM


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
>
>



Meet people who discuss and share your passions. Join them now. __._,_.___

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467

NEW!  You can now post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c55x/1.php< /a>

_____________________________________
About this discussion group:

Archives: 
http://www.dsprelated.com/groups/c55x/1.php< /a>

To Post:  Send an email to c...@yahoogroups.com

Other DSP Related Groups:
http://www.dsprelated.com/groups.php







__,_._,___


(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )