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

about EX_SISR.C

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



Joined: 02 Feb 2013
Posts: 8

View user's profile Send private message

about EX_SISR.C
PostPosted: Sat Mar 02, 2013 10:59 pm     Reply with quote

Can someone explain to me, how the example ex_sisr.c works step by step? I can't understand all of it. I tried but no success. So confused. Pls need your help. I think this might a big help for my code "receiving text command" to my thesis project.
temtronic



Joined: 01 Jul 2010
Posts: 9245
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Mar 03, 2013 7:09 am     Reply with quote

In order to know what's going on 'step by step' I suggest the following.

You should create a very small program that uses it, compile, run to confirm it works. Then, dump the listing (programname.lst). Use the PIC datasheet, instruction set section to 'decode' what the PIC is doing.
If you use a 16F877 there's only 35 instructions making it easy to figure out what is going on.
C code, like all 'high level languages', gets converted into assembler (machine code) that the PIC executes so the ONLY way you'll really know 'step by step' what's going on is to learn machine code (aka the PIC instruction set).

hth
jay
dyeatman



Joined: 06 Sep 2003
Posts: 1934
Location: Norman, OK

View user's profile Send private message

PostPosted: Sun Mar 03, 2013 7:23 am     Reply with quote

Search the forum for the words "explain EX_SISR.C" (without the quotes) and
select Search for All Terms. You will find your explanation.
_________________
Google and Forum Search are some of your best tools!!!!
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Mar 03, 2013 7:50 pm     Reply with quote

To help you find the useful threads,

There is an explanation by Ttelmah at in this thread, of how the
"end of buffer" condition is calculated inside the #int_rda routine:
http://www.ccsinfo.com/forum/viewtopic.php?t=47069
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