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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/06/07 07:49
Modified:
  01/06/07 08:02

Read: times


 
#130405 - examine startup.A51
Responding to: ???'s previous message
From startup.A51 (C:\SiLabs\MCU\IDEFiles\C51\LIB\),
?STACK   SEGMENT  IDATA
   RSEG  ?STACK
   DS    1
   ...
   MOV  SP,#?STACK-1


To locate '?STACK' segment at the end of IDATA, the link order of the segments should be specified using IDATA directive.

"IDATA Linker Directive" from KEIL
http://www.keil.com/support/m..._idata.htm

Also using wild card, you don't need to list up all segment for the segment list of IDATA directive.

"Using Wildcards" from KEIL
http://www.keil.com/support/m...dcards.htm

Of course, when you assign enough space for the stack, you may not be worrying about the link order.

Tsuneo

List of 8 messages in thread
TopicAuthorDate
iseg?/upper 128 bytes of RAM            01/01/70 00:00      
   examine startup.A51            01/01/70 00:00      
      In Response to Tsuneo            01/01/70 00:00      
         mov SP,STACK            01/01/70 00:00      
            In Response to Tsuneo            01/01/70 00:00      
               Surely, SiLabs assembly.ini is incorrect            01/01/70 00:00      
   using upper 128 bytes for stack            01/01/70 00:00      
      In Response to D.c. Van Warendorp            01/01/70 00:00      

Back to Subject List