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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/14/06 13:17
Read: times


 
#129443 - The only useful information on the stack ...
Responding to: ???'s previous message
... is the return address. It is not available to the function in any standard way, but may be very informative when debugging. I can imagine situations where you might want to log it in some form when an error occurs.

But in general I agree. Do not access the stack in C (or any other HLL).

List of 22 messages in thread
TopicAuthorDate
Help me for inline assembly            01/01/70 00:00      
   wait a min!            01/01/70 00:00      
      Explain!            01/01/70 00:00      
         Help me for inline assembly            01/01/70 00:00      
            How 'C' systems start.            01/01/70 00:00      
      how to link the assembled file            01/01/70 00:00      
         You still haven't said            01/01/70 00:00      
         RTFM            01/01/70 00:00      
   Keil C51 and the SRC directive            01/01/70 00:00      
   Before you go there...            01/01/70 00:00      
      sometimes inline assembler is because            01/01/70 00:00      
         Heh.            01/01/70 00:00      
      absolutly!            01/01/70 00:00      
      To Access Stack            01/01/70 00:00      
         Why ?            01/01/70 00:00      
            not necessarily            01/01/70 00:00      
               That's my line!            01/01/70 00:00      
               Still ...            01/01/70 00:00      
                  I think ...            01/01/70 00:00      
                  The only useful information on the stack ...            01/01/70 00:00      
                     Yes, but...            01/01/70 00:00      
                        Not want, but have to            01/01/70 00:00      

Back to Subject List