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 13:57
Read: times


 
#19945 - RE: 1 bit operation in C
Bit instructions ONLY work on sfrs with address ending in 0 or 8 or memory locations 0x20 - 0x2f. '51 compilers that support this will have a data type (for Keil it is bit) that will locate a bit variable in this address space. For a byte where you want to access a single bit there should be a construct (again Keil: bdata) which will locate the byte in the aforementioned space. These are non-ANSI and may thus vary from compiler to compiler.

Have a BIT of fun,

Erik

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