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

Search found 4 matches
CCS Forum Index
Author Message
  Topic: counting 16-bit data using interrupt & asm code
ge bd

Replies: 7
Views: 14269

PostForum: General CCS C Discussion   Posted: Sun Jul 14, 2013 4:30 am   Subject: counting 16-bit data using interrupt & asm code
Thanks to all of you for the suggestions. Now its working for the present purpose. best wishes.
  Topic: counting 16-bit data using interrupt & asm code
ge bd

Replies: 7
Views: 14269

PostForum: General CCS C Discussion   Posted: Sat Jul 13, 2013 9:13 pm   Subject: counting 16-bit data using interrupt & asm code
#int_rtcc
void rtcc_isr(void)
{
event++; // This is CCS's code

// This is your proposed code:
#asm
INCF EVENT,F
BTFSC zero_flag
INCF (&EVENT+1),F
# ...
  Topic: counting 16-bit data using interrupt & asm code
ge bd

Replies: 7
Views: 14269

PostForum: General CCS C Discussion   Posted: Sat Jul 13, 2013 11:32 am   Subject: counting 16-bit data using interrupt & asm code
Thanks for the suggestions. let me try the things.
  Topic: counting 16-bit data using interrupt & asm code
ge bd

Replies: 7
Views: 14269

PostForum: General CCS C Discussion   Posted: Sat Jul 13, 2013 5:37 am   Subject: counting 16-bit data using interrupt & asm code
This may be very simple to you. But I cannot do a counting more than 8-bit. I have tried using the following code for PIC16F84A. Can anyone help me in this regard. Thanks in advance.


long EVENT ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group