diff options
author | Ian C <ianc@noddybox.co.uk> | 2016-05-16 11:59:26 +0100 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2016-05-16 11:59:26 +0100 |
commit | b6b86b40135b448c91177984a8d25518a66d7cdc (patch) | |
tree | 65a56c0dc9a8ff12fb87401b333a6beb5a2e9107 /doc | |
parent | 5e6a1c3434b96ea16485b160c25732df3b00b2b8 (diff) |
SPC700 additions.
* First completed version of SPC700. Very untested.
* Fixed an oddity in the parser regarding quoted values not ending with a
separator. These values now appear unquoted with the additional text included
in the same argument.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/casm.html | 70 |
1 files changed, 69 insertions, 1 deletions
diff --git a/doc/casm.html b/doc/casm.html index bbef8ea..2e95ccc 100644 --- a/doc/casm.html +++ b/doc/casm.html @@ -157,6 +157,10 @@ http://www.gnu.org/licenses/gpl-3.0.html)</a></p> <p> <a href="#65c816">65c816</a> - 65c816 processor support, as used in the SNES. </p> +<p> +<a href="#spc700">SPC700</a> - SPC700 processor support, as used in the SNES +sound co-processor. +</p> <h1 id="casm">CASM</h1> @@ -1557,7 +1561,7 @@ Controls the assumptions made regarding Zero Page address. Defaults to off </td> <td class="def"> -The default; all addresses are assumed to be not on the Zero Page, regardless +All addresses are assumed to be not on the Zero Page, regardless of the value used. </td></tr> @@ -1835,6 +1839,70 @@ section. </table> +<h1 id="spc700">SPC700 CPU</h1> + +<h2>Using the SPC700</h2> + +The SPC700 processor can be selected by passing <b>spc700</b> to the processor +directive, i.e. + +<pre class="codeblock"> + processor spc700 +</pre> + +<h2>Opcodes</h2> + +I could find no official documentation on The SPC700, so the assembler uses what +seems to be the accepted opcode format. + + +<h2>Options</h2> + +The SPC700 assembler has the following options. + +<table> + +<thead><tr><td class="head">SPC700 Option</td> +<td class="head">Description</td></tr></thead> + +<tr><td class="cmd"> +option direct-page, <on|off|auto> +</td> +<td class="def"> +Controls the assumptions made regarding Direct Page address. Defaults to +<i>auto</i>, and can be the following values: + +<table> +<tr><td class="cmd"> +off +</td> +<td class="def"> +All addresses are assumed to be not on the Direct Page, regardless of the value +used. +</td></tr> + +<tr><td class="cmd"> +on +</td> +<td class="def"> +Assumes all addresses are in the Direct Page, raising an error if any address is +not in the Direct Page. +</td></tr> + +<tr><td class="cmd"> +auto +</td> +<td class="def"> +Treats addresses less than 256 as being in the Direct Page automatically. This +mode also makes the assembler perform an extra pass to guard against the +possibility of the calculation being fooled. +</td></tr> +</table> + +</td></tr> +</table> + + <!-- vim: ai sw=4 ts=8 expandtab spell --> </body> |