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

Back to Subject List

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


 
#139035 - 8051 Specifics
Responding to: ???'s previous message
I said:
The concepts of calling functions, passing parameters, and returning a value are part of the 'C' standard; however, the specific way in which a particular compiler implements them is entirely down to that compiler - it is Implementation-defined

Note that the peculiar nature of the 8051 architecture puts some very significant restrictions on the ways that 8051 compilers can do this - this means that any "general" text about 'C' calling conventions, etc is very unlikely to apply to an 8051 compiler!

Therefore you must be sure to read the Manual for your specific compiler!

In particular, it is most unlikely that an 8051 compiler will use the hardware stack for parameter passing...

List of 8 messages in thread
TopicAuthorDate
assembly to c            01/01/70 00:00      
   WHY?            01/01/70 00:00      
      why?            01/01/70 00:00      
         have not done Dallas for a long whole            01/01/70 00:00      
            How?            01/01/70 00:00      
               Calling Conventions            01/01/70 00:00      
                  8051 Specifics            01/01/70 00:00      
         startup code            01/01/70 00:00      

Back to Subject List