ref: 6c1dd85c9a742589d2142be72257a7380a4786dd
dir: /doc/asm/miscfunc.htm/
<!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>