ref: 7e4104cabe8d995e40e552da2078fea87ff4ada6
dir: /doc/asm/miscfunc.htm/
<!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 Other functions</title> <link rel="stylesheet" type="text/css" href="../style.css"> </head> <body> <h1>Other functions</h1> <p>There's a few other functions that do various useful things:</p> <table> <caption>Other functions</caption> <thead> <tr> <th scope="col">Name</th> <th scope="col">Operation</th> </tr> </thead> <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> <h1>See alse:</h1> <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> <hr> <p>Last updated 21 June 1997 by <a href="mailto:[email protected]">Carsten Sorensen</a></p> </body> </html>