mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-02 07:47:49 +00:00
more HTML formatting gunk
This commit is contained in:
@@ -1,42 +1,35 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>xAsm EXPORT/XREF, IMPORT/XDEF, GLOBAL</TITLE>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>xAsm EXPORT/XREF, IMPORT/XDEF, GLOBAL</title>
|
||||
<link rel="stylesheet" type="text/css" href="../style.css">
|
||||
</HEAD>
|
||||
|
||||
<BODY>
|
||||
<I><H2>EXPORT/XREF<BR>
|
||||
IMPORT/XDEF<BR>
|
||||
GLOBAL</H2></I><HR>
|
||||
|
||||
<P>Importing and exporting of symbols is a feature that is very useful when your project spans many source-files and for example you
|
||||
need to jump to a routine defined in another file.<BR>
|
||||
<BR>
|
||||
<TABLE BORDER=1>
|
||||
<CAPTION><I>Import/export commands</I></CAPTION>
|
||||
|
||||
<TR>
|
||||
<TD><B><I>Command</I></B></TD>
|
||||
<TD><B><I>Meaning</I></B></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>IMPORT (or XREF) <I>label</I>[,<I>label</I>,...]</TD>
|
||||
<TD>This instructs the assembler to define label as if it were present
|
||||
in the current file but leave the address calculation to the linker.</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>EXPORT (or XDEF) <I>label</I>[,<I>label</I>,...]</TD>
|
||||
<TD>The assembler will make <I>label</I> accessible to
|
||||
other files during the link process.</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>GLOBAL <I>label</I>[,<I>label</I>,...]</TD>
|
||||
<TD>If <I>label</I> is defined during the assembly it will be exported,
|
||||
if not it will be imported. Handy (very!) for include-files.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<BR><HR>
|
||||
<FONT SIZE="-1"><I><P ALIGN=RIGHT>Last updated 21 June 1997 by <A HREF="mailto:surfsmurf@matilde.demon.co.uk">Carsten Sorensen</A></P></I></FONT>
|
||||
</head>
|
||||
<body>
|
||||
<h1>EXPORT/XREF, IMPORT/XDEF, GLOBAL</h1>
|
||||
<p>Importing and exporting of symbols is a feature that is very useful when your project spans many source-files and for example you need to jump to a routine defined in another file.</p>
|
||||
<table>
|
||||
<caption>Import/export commands</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Command</th>
|
||||
<th scope="col">Meaning</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tr>
|
||||
<td>IMPORT (or XREF) <i>label</i>[,<i>label</i>,...]</td>
|
||||
<td>This instructs the assembler to define label as if it were present
|
||||
in the current file but leave the address calculation to the linker.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>EXPORT (or XDEF) <i>label</i>[,<i>label</i>,...]</td>
|
||||
<td>The assembler will make <i>label</i> accessible to other files during the link process.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>GLOBAL <i>label</i>[,<i>label</i>,...]</td>
|
||||
<td>If <i>label</i> is defined during the assembly it will be exported, if not it will be imported. Handy (very!) for include-files.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr>
|
||||
<p>Last updated 21 June 1997 by <a href="mailto:surfsmurf@matilde.demon.co.uk">Carsten Sorensen</a></p>
|
||||
</body></html>
|
||||
|
||||
Reference in New Issue
Block a user