Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | 21992 ldf file for ASM and C

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

21992 ldf file for ASM and C - Leandro Borba - Mar 14 12:46:00 2005




Hello!

I´m a beginner at ADSP 21992 and i´m having some trouble in using
some "C" and Assembly routines.
I would like to know how to write a .ldf file to work using an
assembly program and some routines in "C". I believe that´s a simple
task but i´m still stupid in this field.

Thanks,
Leandro Borba





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

Re: 21992 ldf file for ASM and C - Mike Rosing - Mar 15 9:55:00 2005

On Mon, 14 Mar 2005, Leandro Borba wrote:

> I´m a beginner at ADSP 21992 and i´m having some trouble in using
> some "C" and Assembly routines.
> I would like to know how to write a .ldf file to work using an
> assembly program and some routines in "C". I believe that´s a simple
> task but i´m still stupid in this field.

It's can be simple. If you want to add the code directly to a segment
that already exists, then you just need to tell the assembler the
correct name in a .segment line. the linker will add the code to the
right place automaticly. If you need to add a new segment, then you will
have to change the ldf with a new memory segment. then it's a bit more
complicated.

Patience, persistence, truth,
Dr. mike




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

Re: 21992 ldf file for ASM and C - Jaime Andres Aranguren Cardona - Mar 16 14:42:00 2005

Hello,

For using the C compiler as well as ASM code, the
problem is not on the LDF side. Use one as if simply
using C code.

Then, try to find out in the C/C++ compiler's manual
the how to interface ASM code with C, I'm sure you'll
find it there.

Regards,

JaaC

--- Leandro Borba <> wrote: > Hello!
>
> I´m a beginner at ADSP 21992 and i´m having some
> trouble in using
> some "C" and Assembly routines.
> I would like to know how to write a .ldf file to
> work using an
> assembly program and some routines in "C". I believe
> that´s a simple
> task but i´m still stupid in this field.
>
> Thanks,
> Leandro Borba Jaime Andrés Aranguren Cardona

__________________________________________________
">http://mail.yahoo.com





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

Re: 21992 ldf file for ASM and C - Steve Holle - Mar 17 10:52:00 2005

Many of the "mixed" examples supplied with the EZkits demonstrate how to
calll asm from c.
At 11:42 AM 3/16/2005, Jaime Andres Aranguren Cardona wrote:

>Hello,
>
>For using the C compiler as well as ASM code, the
>problem is not on the LDF side. Use one as if simply
>using C code.
>
>Then, try to find out in the C/C++ compiler's manual
>the how to interface ASM code with C, I'm sure you'll
>find it there.
>
>Regards,
>
>JaaC
>
>--- Leandro Borba <> wrote:
> >
> >
> > Hello!
> >
> > I´m a beginner at ADSP 21992 and i´m having some
> > trouble in using
> > some "C" and Assembly routines.
> > I would like to know how to write a .ldf file to
> > work using an
> > assembly program and some routines in "C". I believe
> > that´s a simple
> > task but i´m still stupid in this field.
> >
> > Thanks,
> > Leandro Borba >Jaime Andrés Aranguren Cardona >
>
>__________________________________________________
>">http://mail.yahoo.com Steve Holle
Link Communications, Inc.
1035 Cerise Rd.
Billings, MT 59101




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