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

New To CCS: Want to create a project with .c and .asm files

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



Joined: 18 Apr 2004
Posts: 1

View user's profile Send private message

New To CCS: Want to create a project with .c and .asm files
PostPosted: Sun Apr 18, 2004 11:21 am     Reply with quote

Hello,

Have been using MPLAB with Microchip MPASM Toolsuite writing code in assembler. Now planning on using CCS compiler.

I'm Using:
MPLAB IDE v6.4
Microchip ICD2 with PICDEM 2 plus board
PIC16F877
CCS PCM Compiler v3.18
Running under windows xp home edition

My question:

From within the MPLAB IDE, with the CCS Compiler selected as the development tool, can I create a project that includes C files and ASM
files?

So far, the project will only allow me to include C Files. The ability to compile C files, assemble asm files and then link them all together is not an option. Am I missing something here?

Would appreciate any help? Thanks!

Bob
Ttelmah
Guest







Re: New To CCS: Want to cerate a project with .c and .asm fi
PostPosted: Sun Apr 18, 2004 1:14 pm     Reply with quote

bob wrote:
Hello,

Have been using MPLAB with Microchip MPASM Toolsuite writing code in assembler. Now planning on using CCS compiler.

I'm Using:
MPLAB IDE v6.4
Microchip ICD2 with PICDEM 2 plus board
PIC16F877
CCS PCM Compiler v3.18
Running under windows xp home edition

My question:

From within the MPLAB IDE, with the CCS Compiler selected as the development tool, can I create a project that includes C files and ASM
files?

So far, the project will only allow me to include C Files. The ability to compile C files, assemble asm files and then link them all together is not an option. Am I missing something here?

Would appreciate any help? Thanks!

Bob

You can only 'embed' assembler, by using the #asm directive. CCS C, does not directly support normal assembler, but has a sort of sub/superset, that accepts storage addresses using a 'C' syntax, rather than normal assembler format.
I'm afraid you are not missing anything. This ability is not spported in CCS.

Best Wishes
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