Sign in

Not a member? | Forgot your Password?

Search motoroladsp

Search tips

Subscribe to motoroladsp

Search tips

Free PDF Downloads

A Quadrature Signals Tutorial: Complex, But Not Complicated

Understanding the 'Phasing Method' of Single Sideband Demodulation

Complex Digital Signal Processing in Telecommunications

Introduction to Sound Processing

C++ Tutorial

Introduction of C Programming for DSP Applications

Fixed-Point Arithmetic: An Introduction

Cascaded Integrator-Comb (CIC) Filter Introduction

Discussion Groups

FIR Filter Design Software

See Also

Embedded SystemsFPGA

Discussion Groups | Freescale DSPs | Re: (unknown)

Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).

  

Post a new Thread



Is this thread worth a thumbs up?

0

Re: (unknown) - Steve Holle - Mar 29 11:07:00 2005

Use
asm("nop;nop;nop;");

At 04:30 AM 3/29/2005, nupur agarwal wrote:
>hi all
>I am working on ADSP21061 .I am a new user of VDSP.I have written my
>program in simple \'c\' language without any reference to the segments etc.
>
>I want to add 3 nop instruction at the end of program.
>
>1. So do I need to call an assembly routien for these 3 nops in my C
>program?If yes then how?
>
>2.Should I call that routien at the end of main() or after all my function
>definitions(i.e. subroutien definitions) are complete(which are outside
>the main)?
>
>3.Where should i declare functions in the C program..in pm segment or dm
>segment and within main or outside main.
>
>4. I also tried to modify the ldf file created by expert linker but while
>compiling it gave error.I followed the prcedure given in the E-132 and
>EE69 notes .
>
>5.Is it necessary to use expert linker?What if i add an " .ach" file to my
>project in the source files folder or to the linker folder and then try to
>build and run it?
>
>6.One last question - what is the use of the segments seg_rth,seg_init
>,seg_stack and seg_heap......created by expert linker in ldf file.
>
>thank you
>regards
>nupur ><http://in.rd.yahoo.com/specials/mailtg/*http://yahoo.shaadi.com/india-ma trimony/>Yahoo!
>India Matrimony: Find your life partner
><http://in.rd.yahoo.com/specials/mailtg2/*http://yahoo.shaadi.com/india-m atrimony/>online. >
> * To

Steve Holle
Link Communications, Inc.
1035 Cerise Rd.
Billings, MT 59101
s...@link-comm.com






Re: (unknown) - Steve Holle - Mar 29 11:07:00 2005

Use
asm("nop;nop;nop;");

At 04:30 AM 3/29/2005, nupur agarwal wrote:
>hi all
>I am working on ADSP21061 .I am a new user of VDSP.I have written my
>program in simple \\\\\\\\\\\\\\\'c\\\\\\\\\\\\\\\' language without any reference to the segments etc.
>
>I want to add 3 nop instruction at the end of program.
>
>1. So do I need to call an assembly routien for these 3 nops in my C
>program?If yes then how?
>
>2.Should I call that routien at the end of main() or after all my function
>definitions(i.e. subroutien definitions) are complete(which are outside
>the main)?
>
>3.Where should i declare functions in the C program..in pm segment or dm
>segment and within main or outside main.
>
>4. I also tried to modify the ldf file created by expert linker but while
>compiling it gave error.I followed the prcedure given in the E-132 and
>EE69 notes .
>
>5.Is it necessary to use expert linker?What if i add an " .ach" file to my
>project in the source files folder or to the linker folder and then try to
>build and run it?
>
>6.One last question - what is the use of the segments seg_rth,seg_init
>,seg_stack and seg_heap......created by expert linker in ldf file.
>
>thank you
>regards
>nupur ><http://in.rd.yahoo.com/specials/mailtg/*http://yahoo.shaadi.com/india-ma trimony/>Yahoo!
>India Matrimony: Find your life partner
><http://in.rd.yahoo.com/specials/mailtg2/*http://yahoo.shaadi.com/india-m atrimony/>online. >
> * To

Steve Holle
Link Communications, Inc.
1035 Cerise Rd.
Billings, MT 59101
s...@link-comm.com