shithub: rgbds

ref: 6c1dd85c9a742589d2142be72257a7380a4786dd
dir: /doc/asm/symbols.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 Symbols</TITLE>
        <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>

<BODY>
<I><H2>xAsm Symbols</H2></I><HR>

xAsm supports several types of symbols:<BR>
<BR>
<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>

<B>A symbol cannot have the same name as a reserved keyword.</B>

<H3>See also:</H3>
<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>

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