Files
rgbds/doc/asm/syntax.htm
2009-11-08 18:47:28 -07:00

24 lines
1.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!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 Syntax</title>
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<h1>xAsm Syntax</h1>
<p>The syntax linebased, just as in any other assembler. Meaning that you do one instruction or pseudoop per line:</p>
<pre>[label] [instruction] [;comment]</pre>
<p>Example:</p>
<pre>John: ld a,87 ;Weee</pre>
<p>A comment can also be an asterisk (*) followed by the comment if the asterisk is the first character on the line:</p>
<pre>********************************
* These are full line comments *
********************************</pre>
<p>All pseudoops, mnemonics and registers (reserved keywords) are <em>caseinsensitive</em> and all labels are <em>casesensitive</em>.</p>
<hr>
<p>Last updated 21 June 1997 by <a href="mailto:surfsmurf@matilde.demon.co.uk">Carsten Sorensen</a></p>
</body>
</html>