<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=gb2312>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-SIZE: 10pt; COLOR: #000000; PADDING-TOP: 15px; FONT-FAMILY: Arial"
bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true" acc_role="text"
name="Compose message area">
<DIV>//codes from start.S of 74xx_7xx </DIV>
<DIV> </DIV>
<DIV>=====================================================================</DIV>
<DIV>START_GOT<BR> ...</DIV>
<DIV> </DIV>
<DIV> . =
EXC_OFF_SYS_RESET<BR> .globl _start<BR>_start:<BR> li r21,
BOOTFLAG_COLD /* Normal Power-On: Boot from FLASH
*/<BR> b boot_cold<BR> sync</DIV>
<DIV> </DIV>
<DIV>...</DIV>
<DIV> </DIV>
<DIV>boot_cold:<BR>boot_warm:<BR> /* disable everything */<BR>...</DIV>
<DIV> <BR> /*<BR> *
Calculate absolute address in FLASH and jump there<BR>
*------------------------------------------------------*/<BR> lis r3,
<A title=mailto:CFG_MONITOR_BASE@h
href="mailto:CFG_MONITOR_BASE@h">CFG_MONITOR_BASE@h</A><BR> ori r3,
r3, <A title=mailto:CFG_MONITOR_BASE@l
href="mailto:CFG_MONITOR_BASE@l">CFG_MONITOR_BASE@l</A><BR> addi r3,
r3, in_flash - _start +
EXC_OFF_SYS_RESET
//<BR> mtlr r3 //move
contents in r3 to Link
Register(LR)<BR> blr //branch
to address in Link Register(LR)</DIV>
<DIV> </DIV>
<DIV>in_flash: //<BR> /*
let the C-code set up the
rest */<BR> /* */<BR> /*
Be careful to keep code relocatable
! */<BR> /*------------------------------------------------------*/</DIV>
<DIV> </DIV>
<DIV>==========================================================================</DIV>
<DIV>why not use "bl in_flash" or simply comment these codes out?</DIV>
<DIV>thank you.</DIV></BODY></HTML>