Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/21/02 15:52
Read: times


 
#31159 - best ways to bit operation in keil C
hi

how best way (optimize) to cheak, invert, set ,reset for non bit addressable SFR in keil C51 ?


i have
#define SetBit(BYTE,BIT) BYTE = BYTE | (1<<BIT)
#define ResetBit(BYTE,BIT) BYTE = BYTE & (~(1<<BIT))

for set and reset

what for other (cheak, invert) ?

Thx of help !



List of 11 messages in thread
TopicAuthorDate
best ways to bit operation in keil C            01/01/70 00:00      
RE: best ways to bit operation in keil C            01/01/70 00:00      
RE: best ways to bit operation in keil C            01/01/70 00:00      
RE: best ways to bit operation in keil C            01/01/70 00:00      
RE: best ways to bit operation in keil C            01/01/70 00:00      
RE: best ways to bit operation to andy            01/01/70 00:00      
RE: best ways to bit operation in keil C            01/01/70 00:00      
RE: best ways to bit operation to andy            01/01/70 00:00      
RE: best ways to bit operation in keil C            01/01/70 00:00      
RE: best ways to bit operation in keil C            01/01/70 00:00      
RE: best ways to bit operation in keil C            01/01/70 00:00      

Back to Subject List