From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: A question related with symbol reference? Date: Tue, 18 Mar 2008 08:53:49 +0000 Message-ID: References: <200803181649562181701@ncic.ac.cn> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0506503841==" Return-path: In-Reply-To: <200803181649562181701@ncic.ac.cn> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: fanghaifeng@ncic.ac.cn, xen-devel List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============0506503841== Content-type: multipart/alternative; boundary="B_3288675235_10197416" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3288675235_10197416 Content-type: text/plain; charset="ISO-2022-JP" Content-transfer-encoding: 7bit The EXTERN directive is specific to nasm. -- Keir On 18/3/08 08:49, "房海峰" wrote: > I have been programmed assembly code with "nasm" language. > in "nasm", when you refere to a function/label that come from another file, > you should make a declaration of the function with "extern" keywords in > advance. > > i don't know whether "at&t" assembly language is different with "nasm"? > > thanks again! --B_3288675235_10197416 Content-type: text/html; charset="ISO-2022-JP" Content-transfer-encoding: quoted-printable Re: [Xen-devel] A question related with symbol reference? The E= XTERN directive is specific to nasm.

 -- Keir

On 18/3/08 08:49, "=1B$BK<3$Jv=1B(B" <fanghaifeng@ncic.ac.cn> w= rote:

I have been programmed assembly c= ode with "nasm" language.
in "nasm", when you refere to a function/label that come from ano= ther file, you should make a declaration of the function with "extern&q= uot; keywords in advance.

i don't know whether "at&t" assembly la= nguage is different with "nasm"?

thanks again!

--B_3288675235_10197416-- --===============0506503841== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0506503841==--