shithub: rgbds

ref: 8cbc2f44718588433196edda36acdd3f488ec28e
dir: /doc/asm/miscfunc.htm/

View raw version
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
	<TITLE>xAsm Other functions</TITLE>
        <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>

<BODY>
<I><H2>Other functions
</H2></I>
<HR>

There's a few other functions that do various useful things:

<P><TABLE BORDER=1>
	<CAPTION><I>Other functions</I></CAPTION>

<TR>
	<TD><B><I>Name</I></B></TD>
	<TD><B><I>Operation</I></B></TD>
</TR>
<TR>
	<TD>BANK(<I>label</I>)</TD>
	<TD>Gameboy ONLY: Returns the bank number <I>label</I> is in. The link will have to resolve this so it can't be used when the expression has to be constant</TD>
</TR>
<TR>
	<TD>DEF(<I>label</I>)</TD>
	<TD>Returns TRUE if <I>label</I> has been defined</TD>
</TR>
</TABLE>

<H3>See also:</H3>
<UL>
	<LI><A HREF="section.htm">Sections</A>
	<LI><A HREF="symbols.htm">Symbols</A>
	<LI><A HREF="presym.htm">Predeclared symbols</A>
	<LI><A HREF="if.htm">Conditional assembling</A>
</UL>

<BR><HR>
<FONT SIZE="-1"><I><P ALIGN=RIGHT>Last updated 21 June 1997 by <A HREF="mailto:[email protected]">Carsten Sorensen</A></P></I></FONT>