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 3 matches
CCS Forum Index
Author Message
  Topic: Interrupt Priority
Radomir

Replies: 2
Views: 5249

PostForum: General CCS C Discussion   Posted: Mon Jun 12, 2006 1:14 pm   Subject: Interrupt Priority
Hello,
I am using several different interrupts in my code for PIC16F877A.
One of them is #INT_EXT.
I would like to set up this interrupt with highest priority.
It says in the C Compiler Reference ...
  Topic: data type conversion - assignments between different lenghts
Radomir

Replies: 2
Views: 3932

PostForum: General CCS C Discussion   Posted: Mon Nov 21, 2005 9:38 am   Subject: data type conversion - assignments between different lenghts
The key is that the arithmetic used, is defined by the sizes of the operands, not the 'target'. Hence if you multiply an int8, by an int8, the compiler will use int8 arithmetic.
You can force 16bit a ...
  Topic: data type conversion - assignments between different lenghts
Radomir

Replies: 2
Views: 3932

PostForum: General CCS C Discussion   Posted: Fri Nov 18, 2005 2:46 pm   Subject: data type conversion - assignments between different lenghts
Hello!

I have recently started using CCS compiler and I don't have much experience with C either.

I need to perform the following calculation:

var1*(var2/const), where:

var1 - 8bit integer ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group