diff options
author | Ian C <ianc@noddybox.co.uk> | 2016-05-17 08:38:47 +0100 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2016-05-17 08:38:47 +0100 |
commit | 393556d2fc70dc0def5a6bb0463daf234ef23e36 (patch) | |
tree | ffeac76300a03bb6e4e34479d11ec2a64afcacfd /doc | |
parent | 34eab58c9a01b90beb0ce23a2a0f6c2156e8d4fd (diff) |
Added support for 24 bit address labels.
* Also fixes bug where bank wasn't reset between passes.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/casm.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/casm.html b/doc/casm.html index 2e95ccc..7696136 100644 --- a/doc/casm.html +++ b/doc/casm.html @@ -454,6 +454,41 @@ word<br> </table> +<h2>Options</h2> + +<p>The core of CASM supports the following options that can be set via the +<b>option</b> command. +</p> + +<table> + +<thead><tr><td class="head">Option</td> +<td class="head">Description</td></tr></thead> + +<tr><td class="cmd"> +option address24, <on|off> +</td> +<td class="def"> +Controls whether addresses have the current bank set in the high word, e.g. + +<pre class="codeblock"> + org $8000 + bank 7 + + option +address24 +label1: ; Label1 == $078000 + + option -address24 +label2: ; Label2 == $8000 +</pre> + +Note that the name is rather misleading; bank numbers are allowed to be greater +than 256. + +</td></tr> + +</table> + <h2>Expressions</h2> <p>In any of the directives above, where a value is defined, an expression can |