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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/31/03 06:15
Read: times


 
#47080 - Grabbing a bit from a byte?
Hi,

I\'m a University student working with an 8051 microprocessor for my 4th year design project. Since we have no money, we\'re just using SDCC.

I\'m wondering how to grab a single bit from a byte. I glanced at the instruction set, and it doesn\'t seem possible to directly get a bit from a byte. The SDCC docs don\'t indicate to me what the C syntax is for this.

Mas

List of 10 messages in thread
TopicAuthorDate
Grabbing a bit from a byte?            01/01/70 00:00      
   RE: Grabbing a bit from a byte?            01/01/70 00:00      
   RE: Grabbing a bit from a byte?            01/01/70 00:00      
      RE: Grabbing a bit from a byte?            01/01/70 00:00      
         RE: Grabbing a bit from a byte?            01/01/70 00:00      
            RE: Grabbing a bit from a byte?            01/01/70 00:00      
         RE: Grabbing a bit from a byte?            01/01/70 00:00      
            RE: Grabbing a bit from a byte?            01/01/70 00:00      
            RE: Grabbing a bit from a byte?            01/01/70 00:00      
   RE: Grabbing a bit from a byte?            01/01/70 00:00      

Back to Subject List