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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/10/06 22:06
Read: times


 
#109763 - no stack
Responding to: ???'s previous message
The standard way of passing parameters is via the stack - I then understand how the asm part interchanges data with the C part.
But given the limited stack in a previous thread I learned the '51 C compilers don't use stack to pass parameters to functions. How then the asm part knows where to find the parameters and where to fill the result?

JW

List of 17 messages in thread
TopicAuthorDate
P89V51 ISP            01/01/70 00:00      
   example in asm            01/01/70 00:00      
      must be in asm            01/01/70 00:00      
         C?            01/01/70 00:00      
            not advisable with Keil            01/01/70 00:00      
               now I got curious            01/01/70 00:00      
                  what is not advisable            01/01/70 00:00      
                     details?            01/01/70 00:00      
                        pseudo-C            01/01/70 00:00      
                           I hope not, that would be the ultimate r            01/01/70 00:00      
                        the linker does not care if a module is            01/01/70 00:00      
                           no stack            01/01/70 00:00      
                              I do not know if that makes any sense            01/01/70 00:00      
      Thanks Jan - P89V51RDA2 IAP            01/01/70 00:00      
         yes, that is working            01/01/70 00:00      
            P89V51 IAP            01/01/70 00:00      
               examples            01/01/70 00:00      

Back to Subject List