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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/19/02 03:19
Read: times


 
#19924 - 1 bit operation in C
i've initialized a variable at a specific int. ram location of the 8051. now i want to change the state of a single bit of this memory location depending on the status of a port pin. Through assembly, it is very easy using setb / clr instructions. But does anyone have an idea how to do it in C?
i'm not stuck here. i've done the progam in C using these two assembly language statements. but still want to know how it could be implemented using only C?
Thanks in advance to all friends.....

List of 13 messages in thread
TopicAuthorDate
1 bit operation in C            01/01/70 00:00      
RE: 1 bit operation in C            01/01/70 00:00      
RE: 1 bit operation in C            01/01/70 00:00      
RE: 1 bit operation in C - Hosman            01/01/70 00:00      
RE: 1 bit operation in C - Aman            01/01/70 00:00      
RE: 1 bit operation in C            01/01/70 00:00      
RE: 1 bit operation in C - Andy            01/01/70 00:00      
RE: 1 bit operation in C - Andy            01/01/70 00:00      
RE: 1 bit operation in C - Andy            01/01/70 00:00      
RE: 1 bit operation in C - Andy            01/01/70 00:00      
RE: 1 bit operation in C - Andy            01/01/70 00:00      
RE: 1 bit operation in C - Andy            01/01/70 00:00      
RE: 1 bit operation in C - Andy            01/01/70 00:00      

Back to Subject List