mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
32 lines
1.4 KiB
HTML
32 lines
1.4 KiB
HTML
<!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 Symbols</title>
|
|
<link rel="stylesheet" type="text/css" href="../style.css">
|
|
</head>
|
|
<body>
|
|
<h1>xAsm Symbols</h1>
|
|
<p>xAsm supports several types of symbols:</p>
|
|
<ul>
|
|
<li><a href="labels.htm">Label</a>. Used to assign a memory location with a name
|
|
<li><a href="equ.htm">EQUate</a>. Give a constant a name.
|
|
<li><a href="set.htm">SET</a>. Same as EQUate but with a subtle difference. You can change the value of a SET during assembling.
|
|
<li><a href="rs.htm">Structures (the RS group)</a>. Define a structure easily.
|
|
<li><a href="equs.htm">String equate (EQUS)</a>. Give an often used string a name. Can also be used as a mini-macro. Much like #define in C.
|
|
<li><a href="macro.htm">MACROs</a>. A block of code or pseudo instructions that you invoke like any other mnemonic. You can give them arguments too! Life is good.
|
|
</ul>
|
|
|
|
<p><strong>A symbol cannot have the same name as a reserved keyword.</strong></p>
|
|
|
|
<h1>See also:</h1>
|
|
<ul>
|
|
<li><a href="presym.htm">Predeclared symbols</a>
|
|
<li><a href="export.htm">Importing and exporting symbols</a>
|
|
<li><a href="purge.htm">Purging symbols</a>
|
|
</ul>
|
|
<hr>
|
|
<p>Last updated 02 July 1997 by <a href="mailto:surfsmurf@matilde.demon.co.uk">Carsten Sorensen</a></p>
|
|
</body>
|
|
</html>
|