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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/16/08 17:13
Read: times


 
#160062 - SDCC declaring SFR bits
Responding to: ???'s previous message
__sbit __at (0xd7) CY; /* CY (Carry Flag) */

hello ,i already read in the manual ^

in assembler I can declare something like that

DATA bit P3.2

but in SDCC i have to know the adress of the bit itself

i looked in embedded microcontrollers manual of INTEL
nowhere there is the bit adresses of SFR bits




List of 17 messages in thread
TopicAuthorDate
SDCC declaring SFR bits            01/01/70 00:00      
   Manual            01/01/70 00:00      
   SDCC declaring SFR bits            01/01/70 00:00      
      Header files?            01/01/70 00:00      
         Header files?            01/01/70 00:00      
            The manual is not enough!            01/01/70 00:00      
   This is one way            01/01/70 00:00      
      That's not what the manual says            01/01/70 00:00      
         Those SFR definitions are working            01/01/70 00:00      
            Need someone who knows SDCC: Maarten Brock?            01/01/70 00:00      
         variant syntax of SDCC keywords and ANSI-C compatibility            01/01/70 00:00      
            C standard compliance            01/01/70 00:00      
               Common for all compilers            01/01/70 00:00      
                  coders should think twice            01/01/70 00:00      
                     The preprocessor is often a good friend            01/01/70 00:00      
               Suggestion            01/01/70 00:00      
                  thanks, but...            01/01/70 00:00      

Back to Subject List