Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Electronic Equipment > Embedded > Could any one c...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 9 Topic 12422 of 12936
Post > Topic >>

Could any one clarify the below codes.

by "Mohan kumar" <mohankumar_beece@[EMAIL PROTECTED] > Jun 25, 2008 at 06:22 AM

Hi all,
Below code is part of powerpc 555 boot up code, could any one explain, why
stack is terminated by "stwu  r0,-64(r1)"


addi	r1,r11,_ld_stack_end@[EMAIL PROTECTED]
  # value in linker command file.
addis	r13,r0,_SDA_BASE_@[EMAIL PROTECTED]
 Initialize r13 to sdata base
addi	r13,r13,_SDA_BASE_@[EMAIL PROTECTED]
 (provided by linker).
addis	r2,r0,_SDA2_BASE_@[EMAIL PROTECTED]
 Initialize r2 to sdata2 base
addi	r2,r2,_SDA2_BASE_@[EMAIL PROTECTED]
 (provided by linker).
addi	r0,r0,0			# Clear r0.
stwu	r0,-64(r1)	 	# Terminate stack.

Expecting replies from you all.
 




 9 Posts in Topic:
Could any one clarify the below codes.
"Mohan kumar" &  2008-06-25 06:22:46 
Re: Could any one clarify the below codes.
cs_posting@[EMAIL PROTECT  2008-06-25 10:04:15 
Re: Could any one clarify the below codes.
"Mohan kumar" &  2008-06-26 01:10:21 
Re: Could any one clarify the below codes.
Coos Haak <chforth@[EM  2008-06-26 15:19:41 
Re: Could any one clarify the below codes.
"John B" <sp  2008-06-27 11:57:42 
Re: Could any one clarify the below codes.
Coos Haak <chforth@[EM  2008-06-27 18:48:31 
Re: Could any one clarify the below codes.
mojaveg@[EMAIL PROTECTED]  2008-06-26 07:13:04 
Re: Could any one clarify the below codes.
cs_posting@[EMAIL PROTECT  2008-06-26 07:13:50 
Re: Could any one clarify the below codes.
cs_posting@[EMAIL PROTECT  2008-06-26 10:02:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 0:10:14 CDT 2008.