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

Back to Subject List

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


 
#129387 - Just like inline assembler!
Responding to: ???'s previous message
Linda Trioz said:
How can we move/getting a value to/from stack using C coding .

Andy Neil said:
This is almost ceratainly a Very Bad Idea indeed!

If you mess with the stack, there is a very high risk that you will break the program!

Why do you want to do such a thing?


Just as for inline assembler, you need to consider very carefully why you want to do this - see: http://www.8052.com/forum/read.phtml?id=129336



List of 13 messages in thread
TopicAuthorDate
Help me for Push and POP in C            01/01/70 00:00      
   Here be dragons!            01/01/70 00:00      
      Just like inline assembler!            01/01/70 00:00      
   Don't do it            01/01/70 00:00      
   I suspect this is just not bothering to understand            01/01/70 00:00      
      Alternatively            01/01/70 00:00      
      It is a bad idea for any cpu            01/01/70 00:00      
         If you need a queue, use (write) one            01/01/70 00:00      
            Use inline Assembly for this purpose            01/01/70 00:00      
               The Stack            01/01/70 00:00      
                  Task switching            01/01/70 00:00      
               Noooo!!!!!!            01/01/70 00:00      
   If you write C, then use C !            01/01/70 00:00      

Back to Subject List