Hi,

        Could you please explain to me the complete flow, right from the beginning
of execution of the assembly code. How does the assembly code jump to the C
code ? which is the jump instruction in crt0.base that makes it jump to
c_start.S

Thanks,
Shubhangi

-----Original Message-----
From: Steve Gehlbach [mailto:[EMAIL PROTECTED]
Sent: Monday, March 17, 2003 11:57 PM
To: Shubhangi Jadhav
Cc: [EMAIL PROTECTED]
Subject: Re: Help needed to understand code


Shubhangi Jadhav wrote:
> how does crt0.base move to c_start.S. I did not find any reference to
> c_start.S from crt0.base or any other .inc files included in crt0.base
>

The bottom of crt0.base jumps to c_start.S using loader "magic".
c_start.S runs in ram in the C code address space.  crt0.base runs in rom.

-Steve



_______________________________________________
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios

Reply via email to