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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/24/07 06:08
Read: times


 
#139716 - Yes, that's it!
Responding to: ???'s previous message
Neil Kurzman said:
 WRONG
 char bdata bitByte;         // Define a bit-addressable byte
 X = bitByte^6;              // WRONG

 RIGHT
 char bdata bitByte;         // Define a bit-addressable byte
 sbit bitByte_6 = bitByte^6; // Define 'X' as bit 6 within the byte

X = bitByte_6;               // To Use it.

Yes, that's it!

Now does that help Shruthi

I don't think so - I think he's talking about assembler, not 'C'...?



List of 24 messages in thread
TopicAuthorDate
Byte used as bit            01/01/70 00:00      
   which compiler?            01/01/70 00:00      
      Silabs IDE            01/01/70 00:00      
         and was this inline assembler in C-program?            01/01/70 00:00      
            No, not an assembler in C            01/01/70 00:00      
         SILabs IDE is NOT a compiler            01/01/70 00:00      
            I was just referring to the IDE used.            01/01/70 00:00      
               Terminology            01/01/70 00:00      
                  Assuming The Keil C Compiler            01/01/70 00:00      
                     No, that's wrong            01/01/70 00:00      
                        So much for the manual            01/01/70 00:00      
                           Yes, that's it!            01/01/70 00:00      
                              assembler            01/01/70 00:00      
                                 assembling not compiling            01/01/70 00:00      
                                 MISC_FLAGS EQU 20h            01/01/70 00:00      
                                    re:MISC_FLAGS EQU 20h            01/01/70 00:00      
                                       Bytes as bits            01/01/70 00:00      
                                          stop expreimenting, read the manual            01/01/70 00:00      
                                          Or use Acc            01/01/70 00:00      
                  Accurate terminology            01/01/70 00:00      
               C51.exe            01/01/70 00:00      
               No and definitely not            01/01/70 00:00      
   Check Byte Address            01/01/70 00:00      
      i do not recall            01/01/70 00:00      

Back to Subject List