[U-Boot-Users] Newbie question

Frank Young young726 at hotmail.com
Mon May 10 19:55:32 CEST 2004


The is not a u-boot question but a question about u-boot source code.

In file cpu/ppc4xx/start.S, the first line for 405GP is:
addi r4, r0, 0x0000

I think the purpose of this line is to set r4 as 0x0000, but where is r0 
set? Is it supposed to be 0 when the code is started?

Also, why not simply use li r4, 0x0000. Any difference?

Thanks!

Frank

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.com/go/onm00200415ave/direct/01/





More information about the U-Boot mailing list