Re: (unknown)

Started by Steve Holle March 29, 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://yahoo.shaadi.com/india-matrimony/>Yahoo!" target="_blank" rel="nofollow">http://in.rd.yahoo.com/specials/mailtg/*http://yahoo.shaadi.com/india-matrimony/>Yahoo!
>India Matrimony: Find your life partner
><http://yahoo.shaadi.com/india-matrimony/>online" target="_blank" rel="nofollow">http://in.rd.yahoo.com/specials/mailtg2/*http://yahoo.shaadi.com/india-matrimony/>online. >
> * To

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


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://yahoo.shaadi.com/india-matrimony/>Yahoo!" target="_blank" rel="nofollow">http://in.rd.yahoo.com/specials/mailtg/*http://yahoo.shaadi.com/india-matrimony/>Yahoo!
>India Matrimony: Find your life partner
><http://yahoo.shaadi.com/india-matrimony/>online" target="_blank" rel="nofollow">http://in.rd.yahoo.com/specials/mailtg2/*http://yahoo.shaadi.com/india-matrimony/>online. >
> * To

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


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://yahoo.shaadi.com/india-matrimony/>Yahoo!" target="_blank" rel="nofollow">http://in.rd.yahoo.com/specials/mailtg/*http://yahoo.shaadi.com/india-matrimony/>Yahoo!
>India Matrimony: Find your life partner
><http://yahoo.shaadi.com/india-matrimony/>online" target="_blank" rel="nofollow">http://in.rd.yahoo.com/specials/mailtg2/*http://yahoo.shaadi.com/india-matrimony/>online. >
> * To

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


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://yahoo.shaadi.com/india-matrimony/>Yahoo!" target="_blank" rel="nofollow">http://in.rd.yahoo.com/specials/mailtg/*http://yahoo.shaadi.com/india-matrimony/>Yahoo!
>India Matrimony: Find your life partner
><http://yahoo.shaadi.com/india-matrimony/>online" target="_blank" rel="nofollow">http://in.rd.yahoo.com/specials/mailtg2/*http://yahoo.shaadi.com/india-matrimony/>online. >
> * To

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