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 support@ccsinfo.com

Extended set extension and Indexed Addressing

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



Joined: 05 Jul 2012
Posts: 35

View user's profile Send private message

Extended set extension and Indexed Addressing
PostPosted: Wed Nov 14, 2012 7:30 pm     Reply with quote

Hi,
I am wondering, are there any "pros and cons" regarding the "Extended set extension and Indexed Addressing"?
What are the reasons to leave it enabled or disabled?
Thanks!
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Nov 14, 2012 7:49 pm     Reply with quote

Compile a program and look at the warnings:
Quote:
>>> Warning 227 "PCH_Test.c" Line 85(1,1): Feature not supported XINST
mfeinstein



Joined: 05 Jul 2012
Posts: 35

View user's profile Send private message

PostPosted: Wed Nov 14, 2012 8:33 pm     Reply with quote

Sorry PCM Programmer, I did not understand your answer...could you make it more clear please?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Nov 14, 2012 8:50 pm     Reply with quote

Read this thread and the link in it:
http://www.ccsinfo.com/forum/viewtopic.php?t=49258
mfeinstein



Joined: 05 Jul 2012
Posts: 35

View user's profile Send private message

PostPosted: Wed Nov 14, 2012 9:21 pm     Reply with quote

So why they give you the option to enable it, if the compiler doesnt support it?
Ttelmah



Joined: 11 Mar 2010
Posts: 19328

View user's profile Send private message

PostPosted: Thu Nov 15, 2012 2:10 am     Reply with quote

Because you could (for instance), write a CCS bootloader (being very careful what instructions you use, to prevent this causing problems), which then loads a main program written with something else, which requires XINST.

Best Wishes
mfeinstein



Joined: 05 Jul 2012
Posts: 35

View user's profile Send private message

PostPosted: Thu Nov 15, 2012 9:35 am     Reply with quote

Oh..now it makes sense ;)
Thanks Ttelmah
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