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

When #asm is not enough

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







When #asm is not enough
PostPosted: Thu Feb 26, 2004 6:47 am     Reply with quote

I have a project in which I need to call some #asm routines written by Microchip. I am taking something they wrote for one purpose and adapting it to other purposes. The #asm routines are quite complex, and I do not want to port them to C, just call them and pass them variables.

I remember there is a way to accomplish this, but can't seem to dredge up the right keywords to find it and can only remember half of it.

First there is the issue of passing variables from C to Asm, with an underline character??

There also seems to be an issue about EXTERN and GLOBAL variables however i can't quite recall this either.

Hopefully someone can point me to some documentation that discusses all this stuff.

Thanks

Lawrence
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Feb 26, 2004 12:36 pm     Reply with quote

CCS has no linker, so most of the things you mentioned don't
apply to CCS.

If you can give a link to the Microchip appnote, we could look at
the code and give you some ideas.
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