CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

dspic code not used?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
drolleman
Guest







dspic code not used?
PostPosted: Sat Apr 11, 2009 9:06 am     Reply with quote

When using a 30f or 33f part, does ccs use the enhanced instructions? When I compile in 24f or 33f the code seems very close.
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Sat Apr 11, 2009 11:24 am     Reply with quote

I'm only using PIC24 up to now, but I never heard about enhanced instructions. Can you give an example of an instruction specific to dsPIC30/33?
Guest








PostPosted: Mon Apr 13, 2009 12:19 pm     Reply with quote

In dsPic there are 2 40 bit accumulators. These can be used for math calculations. Microchip uses them for like sound calculations but any application that has math functionality could benefit from these.
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Mon Apr 13, 2009 11:07 pm     Reply with quote

Yes, thank you, I see.

I don't think, that's the dsPIC accu and respective instructions are supported by PCD. As far as I understand, also Microchip C30 support for dsPIC is limited to assembly level and DSP specific libraries.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group