From: Laudney Ren Date: Fri, 03 Jan 2003 11:47:22 +0800 Subject: [U-Boot-Users] why jump at absolute address in start.S Message-ID: <3E1507CA.7000305@sjtu.edu.cn> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I'm reading cpu/mpc8xx/start.S and found the following: /* * Calculate absolute address in FLASH and jump there */ lis r3, CFG_MONITOR_BASE at h ori r3, r3, CFG_MONITOR_BASE at l addi r3, r3, in_flash - _start + EXC_OFF_SYS_RESET mtlr r3 blr Why do we need to calculate the absolutely address? Why should we do it here, instead of everywhere? Thanks. Laudney