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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/25/06 22:55
Read: times


 
#123069 - Stack
Responding to: ???'s previous message
Dear Joseph,

Here is the point that makes me confuse

?STACK          SEGMENT   IDATA

                RSEG    ?STACK
                DS      1


I don't really get this. In this case, is 1 byte reserved for for Stack or a variable name ?Stack and its function is to point to Stack? Furthermore, the STARTUP1 section seems to clear everything from 0x00 to 0x3f of data memory (the MCU I'm currently using has only 64 bytes of data memory). In this case I think it overwrites Stack. Am I wrong? If I understand correctly, at power on by default SP is at 0x07 and the STARTUP1 will clear this value. In this case how do I know the value of SP. Please explain this for me. Thank you in advance.

Best regards,
T.L

List of 13 messages in thread
TopicAuthorDate
What does this mean?            01/01/70 00:00      
   Not Equal To            01/01/70 00:00      
      Not Equal to            01/01/70 00:00      
   Manual.            01/01/70 00:00      
      Not Equal to            01/01/70 00:00      
   SP and STACK            01/01/70 00:00      
   Stack            01/01/70 00:00      
      Sorry            01/01/70 00:00      
         Stack of names and STACK            01/01/70 00:00      
         notation            01/01/70 00:00      
            Stack            01/01/70 00:00      
               yes and no and no            01/01/70 00:00      
                  Stack            01/01/70 00:00      

Back to Subject List