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 19:58
Read: times


 
#154979 - idata as stack
Responding to: ???'s previous message
I suppose you want to use a part of the upper 128 bytes of the internal memory as stack. You can. e.g.

MOV SP,#080H

set's the stack pointer to the first byte of the upper 128 byte internal memory. In stead of #080H you can use any value you need the stack size to be.

Dick

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