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 1 match
CCS Forum Index
Author Message
  Topic: BIT_CLEAR() generating a lot of code
leonake

Replies: 12
Views: 19514

PostForum: General CCS C Discussion   Posted: Sun Nov 21, 2004 2:32 am   Subject: BIT_CLEAR() generating a lot of code
my advice: build your own functions and directives

#define setbit(x, y) x|= 1<<y
#define clrbit(x, y) x&= !(1<<y)

where x-byte, y-bit

Ciao
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group