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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/25/11 17:12
Read: times


 
#183041 - Yes - wrong!
Responding to: ???'s previous message
Maarten Brock said:
The OP asked for a bit variable.

No, he didn't just ask for "a bit variable" - he specifically asked for a bit variable "As in KEIL C51"

In Keil C51, a bit variable is specifically a 1-bit variable - taking advantage of the 8051 architecture's bit addressing features.

How the compiler converts that to the available hardware is totally irrelevant.

Not when the particular compiler's implementation is a specific part of the request!

List of 12 messages in thread
TopicAuthorDate
Bit variable in KEIL Arm            01/01/70 00:00      
   Hw bit variables normally not available in processors            01/01/70 00:00      
      Not quite true.            01/01/70 00:00      
         He covered that            01/01/70 00:00      
   Choice of forum            01/01/70 00:00      
   bool            01/01/70 00:00      
      bool is nothing specifically to do with single-bit variables            01/01/70 00:00      
         Not wrong            01/01/70 00:00      
            Yes - wrong!            01/01/70 00:00      
               bit != bool even if nominal storage range is same            01/01/70 00:00      
   Bit Fields            01/01/70 00:00      
      Wrong answer for this question            01/01/70 00:00      

Back to Subject List