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

Extended Instruction Set

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



Joined: 18 Nov 2013
Posts: 162

View user's profile Send private message

Extended Instruction Set
PostPosted: Thu Feb 12, 2026 9:49 am     Reply with quote

I'm using v5.123 of the IDE, with an 18F67K22. I have my application and a bootloader app for the PIC.

Adding #FUSE XINST in my main app works.

But adding that same fuse to the bootloader generates warning "Feature not supported XINST".
This is the whole bootloader include file:
Code:

#include <18F67K22.h>
#device ADC=12

#FUSES PUT
#FUSES HSM
#FUSES XINST       
#FUSES WDT_SW     
#FUSES WDT512       
#FUSES BORV30   

#use delay(clock=64MHz,restart_wdt)
#define PUSH_BUTTON   PIN_E0

#use rs232(baud=38400,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8,stream=COM1)

What am I missing?

Update:
Today, the XINST fuse is flagged as not supported in my main app also. I must have been misreading the fuses yesterday.
In any case, the PIC datasheet says it supports the extended instrustion set.
gaugeguy



Joined: 05 Apr 2011
Posts: 354

View user's profile Send private message

PostPosted: Thu Feb 12, 2026 12:34 pm     Reply with quote

Why do you think you need the extended instruction set?
dyeatman



Joined: 06 Sep 2003
Posts: 1978
Location: Norman, OK

View user's profile Send private message

PostPosted: Thu Feb 12, 2026 12:40 pm     Reply with quote

For more info about using XINST please see this link:
https://www.ccsinfo.com/forum/viewtopic.php?t=49258
_________________
Google and Forum Search are some of your best tools
SeeCwriter



Joined: 18 Nov 2013
Posts: 162

View user's profile Send private message

PostPosted: Thu Feb 12, 2026 12:49 pm     Reply with quote

I probably don't need it. I only tried to enable it because it added some new commands and thought it might make the code more efficient.

Edit:

Not probably, I definitely don't need it.

Before I posted my question I searched the forum for "XINST", then "Extended Instruction" and received hundreds of results that had nothing to do with what I was searching for. A previous poster answered my question with a link to a forum thread that went into detail about extended instructions (thank you), with the term "XINST" in the title of the thread. Yet that thread did not appear in the first couple of pages of results. Maybe it was on page 37. It should have been the first or second result on the first page. I'm not impressed with search function.
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