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

MPLAB & CCS

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








MPLAB & CCS
PostPosted: Sat Sep 01, 2007 11:20 pm     Reply with quote

Can I write a function in mplab and use it in the CCS?
asmallri



Joined: 12 Aug 2004
Posts: 1635
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Sun Sep 02, 2007 7:11 am     Reply with quote

MPLAB is an IDE. You can install CCS under MPLAB using the MPLAB environment to develop you CCS application. The source code is identical to that produced in the CCS IDE and is interchangable between the two development environments.

If you actually meant can you exchange between CCS C and Microchip C18 then you would need to "port" between the environments. This is not trivial.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Guest








PostPosted: Sun Sep 02, 2007 7:30 am     Reply with quote

I think you don't understand my intention.
I want to write a function or macro with asm. and assemble it with MPASM
and use it in the C code.!!
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Sun Sep 02, 2007 9:58 am     Reply with quote

CCS User Manual
-> Open the folder PRE-PROCESSOR DIRECTIVES
--> Read the capabilities of #ASM directive.

This will give you the answer.


Humberto
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