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

Continuously running C Code on PIC

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







Continuously running C Code on PIC
PostPosted: Thu May 10, 2007 9:15 pm     Reply with quote

Hey pals..i'm little new to PIC C Codin.. i got a silly doubt.. pls clarify..
When we code in assembly to make the program run continuously we give a CALL/JUMP to START at the end of the code ... but when we code in C using CCS compiler is it necessary to loop it or does the compiler loops itself automatically?? I've to run a code continuously on PIC.. Pls clarify this...
Neutone



Joined: 08 Sep 2003
Posts: 839
Location: Houston

View user's profile Send private message

Re: Continuously running C Code on PIC
PostPosted: Thu May 10, 2007 9:57 pm     Reply with quote

Mahesh wrote:
Hey pals..i'm little new to PIC C Codin.. i got a silly doubt.. pls clarify..
When we code in assembly to make the program run continuously we give a CALL/JUMP to START at the end of the code ... but when we code in C using CCS compiler is it necessary to loop it or does the compiler loops itself automatically?? I've to run a code continuously on PIC.. Pls clarify this...


Within main place a while(true) to run all code to be repeated.
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