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

How to use the Assembly code generate by the CCS

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



Joined: 23 Aug 2006
Posts: 37

View user's profile Send private message

How to use the Assembly code generate by the CCS
PostPosted: Mon Jun 18, 2007 12:52 pm     Reply with quote

Hi everybody!!

Well, i know that the CCS Compiler generate an assembly code (.lst), right? I try to compile this code with the MPASM and didn't have sucess, anyone could help me with that?? What kind of changes i have to make?

I will be very glad if anyone could help me.


Thanks, and sorry for the bad english
Ttelmah
Guest







PostPosted: Mon Jun 18, 2007 1:01 pm     Reply with quote

It won't.
The assembler, is compatible with the CCS assembler, not MPLAB assembler.
The compiler already assembles the code anyway.

Best Wishes
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Jun 18, 2007 1:40 pm     Reply with quote

But the .LST file uses MPASM compatible instructions. By editing out
the address column in the .LST file, and by adding suitable MPASM
statements to declare the variables (refer to the symbol table to
get the addresses) and also by adding pre-processor statements,
you could make a MPASM file. But why bother ?
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