1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-17 09:07:32 +00:00

65C816 document brk optional signature, and mvn/mvp syntax

This commit is contained in:
bbbradsmith 2023-02-24 23:00:30 -05:00
parent cd8fa39066
commit 3f8252311e

View File

@ -439,6 +439,14 @@ The assembler accepts
<tt><ref id=".P4510" name=".P4510"></tt> command was given). <tt><ref id=".P4510" name=".P4510"></tt> command was given).
</itemize> </itemize>
On 6502-derived platforms the <tt/BRK/ instruction has an optional signature
byte. If omitted, the assembler will only produce only 1 byte.
<tscreen><verb>
brk ; 1-byte: $00
brk $34 ; 2-bytes: $00 $34
</verb></tscreen>
<sect1>65816 mode<p> <sect1>65816 mode<p>
@ -456,6 +464,17 @@ mnemonics:
<item><tt>TSA</tt> is an alias for <tt>TSC</tt> <item><tt>TSA</tt> is an alias for <tt>TSC</tt>
</itemize> </itemize>
The <tt/MVN/ and <tt/MVP/ instructions accept two different argument forms.
Either two bank bytes may be given with a <tt/#/ prefix,
or two far addresses whose high byte will be used.
<tscreen><verb>
mvn #^src, #^dst ; bank of src to bank of dst
mvn src, dst ; bank of src to bank of dst
mvp #$12, #$78 ; bank $12 to $78
mvp $123456, $789ABC ; bank $12 to $78
</verb></tscreen>
<sect1>6502X mode<label id="6502X-mode"><p> <sect1>6502X mode<label id="6502X-mode"><p>