shithub: rgbds

ref: 95cd960b3b11554c27c7b2952b08fc43f02cb5cf
dir: /doc/asm/purge.htm/

View raw version
<!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 PURGE</title>
        <link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<h1>PURGE</h1>
<p>The PURGE command allows you to completely remove a symbol from the symbol table as if it had never existed. USE WITH EXTREME CAUTION!!! I can’t stress this enough but you <em>seriously</em> need to know what you are doing. DON’T purge symbol that you use in expressions the linker needs to calculate. In fact, it’s probably not even safe to purge anything other than string symbols and macros.</p>
<pre>Kamikaze    EQUS    "I don't want to live anymore"
AOLer       EQUS    "Me too"
            PURGE   Kamikaze,AOLer</pre>
<p>Note that string symbols that are part of a PURGE command WILL NOT BE EXPANDED as the ONLY exception to this rule.</p>
<hr>
<p>Last updated 02 July 1997 by <a href="mailto:[email protected]">Carsten Sorensen</a></p>
</body>
</html>