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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/08/11 08:22
Read: times


 
#181489 - main concern is code operation.
Responding to: ???'s previous message
When a bit type is used in function parameters, what registers / flags come into picture?

Our main concern is to make the code more simplified by making use of bit type, rather than unsigned char. But, what is the actual impact on the code execution internally? How will the compiler treat this issue?

What is the _BIT_GROUP_ storing, and how can it handle the bit function parameters without conflict, as our code is running with code banking? Will there be overlay analysis for bits also?

List of 17 messages in thread
TopicAuthorDate
bit type function parameter            01/01/70 00:00      
   Look at instruction set            01/01/70 00:00      
   What is your actual problem here?            01/01/70 00:00      
      main concern is code operation.            01/01/70 00:00      
         parameter converted to global variable            01/01/70 00:00      
            No reentrancy            01/01/70 00:00      
               Is it the 8051 instruction set?            01/01/70 00:00      
               Still looked at the bit capabilities of the processor?            01/01/70 00:00      
         You need to ask Keil            01/01/70 00:00      
         Use bool to simplify            01/01/70 00:00      
            BOOLEAN directive used            01/01/70 00:00      
               stdbool            01/01/70 00:00      
               Use stdbool            01/01/70 00:00      
                  Optimal implementation            01/01/70 00:00      
                     SDCC            01/01/70 00:00      
                        Optimal for what?            01/01/70 00:00      
                           both            01/01/70 00:00      

Back to Subject List