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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/20/08 20:19
Read: times


 
#154984 - SP initialization in C language
Responding to: ???'s previous message
I am using Keil C51, so please tell me how to initialized stack pointer in C language instead of assembly just MOV SP,#7F;

List of 12 messages in thread
TopicAuthorDate
idata as stack            01/01/70 00:00      
   Where            01/01/70 00:00      
      true, but incomplete            01/01/70 00:00      
         Extended RAM of 8052 for Stack            01/01/70 00:00      
   idata as stack            01/01/70 00:00      
      You can gain 1 byte of stack ...            01/01/70 00:00      
         That is right            01/01/70 00:00      
            Wrong thread?            01/01/70 00:00      
               SP initialization in C language            01/01/70 00:00      
                  You need it before C starts            01/01/70 00:00      
                     and is done 'automatically'            01/01/70 00:00      
                        Fooling round with the SP in C can be dangerous            01/01/70 00:00      

Back to Subject List