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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/22/02 09:11
Read: times


 
#27690 - RE: declaring variables and registers
Hi Jeff,

Why to estimate, let the linker to put the stack last. (Keil will put ?STACK segment for other tools take a look in the /LIB folder - you'll see a startup.a51 file)

Example:
?STACK	SEGMENT   IDATA

RSEG	?STACK
	DS	1</FONT">
;.... 
reset:
;....clear mem etc... 
;....end move the pointer... 
	mov     SP,#LOW(?STACK-1)





List of 19 messages in thread
TopicAuthorDate
declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      

Back to Subject List