Skip to content

Commit

Permalink
Update RGBDS master documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Action committed Aug 19, 2024
1 parent 2c027f0 commit c78cf4f
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 9 deletions.
3 changes: 0 additions & 3 deletions docs/gbz80.7.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ <h2 class="Sh" id="LEGEND"><a class="permalink" href="#LEGEND">LEGEND</a></h2>
<dd>Execute if C is set.</dd>
<dt id="NC"><a class="permalink" href="#NC"><b class="Sy">NC</b></a></dt>
<dd>Execute if C is not set.</dd>
<dt id="cc">!
<a class="permalink" href="#cc"><b class="Sy">cc</b></a></dt>
<dd>Negates a condition code.</dd>
</dl>
</dd>
<dt id="RST"><var class="Ar">vec</var></dt>
Expand Down
Binary file modified docs/gbz80.7.pdf
Binary file not shown.
Binary file modified docs/rgbasm.1.pdf
Binary file not shown.
20 changes: 14 additions & 6 deletions docs/rgbasm.5.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,22 @@ <h2 class="Sh" id="SYNTAX"><a class="permalink" href="#SYNTAX">SYNTAX</a></h2>
instructions on one line can be separated by double colons
&#x2018;<code class="Li">::</code>&#x2019;.</p>
<p class="Pp">The available instructions are documented in
<a class="Xr" href="./gbz80.7">gbz80(7)</a>. Note that where an instruction
requires an 8-bit register <var class="Ar">r8</var>,
<code class="Nm">rgbasm</code> can interpret
<a class="Xr" href="./gbz80.7">gbz80(7)</a>.</p>
<p class="Pp">Note that where an instruction requires an 8-bit register
<var class="Ar">r8</var>, <code class="Nm">rgbasm</code> can interpret
<code class="Ic">HIGH</code>(<var class="Ar">r16</var>) as the top 8-bit
register of the given <var class="Ar">r16</var>, and
<code class="Ic">LOW</code>(<var class="Ar">r16</var>) as the bottom one
(except for <code class="Ic">LOW</code>(<code class="Ic">AF</code>), since
register of the given <var class="Ar">r16</var>, for example,
<code class="Ic">HIGH</code>(<code class="Ic">HL</code>) for
<code class="Ic">H</code>; and
<code class="Ic">LOW</code>(<var class="Ar">r16</var>) as the bottom one,
for example, <code class="Ic">LOW</code>(<code class="Ic">HL</code>) for
<code class="Ic">L</code> (except for
<code class="Ic">LOW</code>(<code class="Ic">AF</code>), since
<code class="Ic">F</code> is not a valid register).</p>
<p class="Pp">Note also that where an instruction requires a condition code
<var class="Ar">cc</var>, <code class="Nm">rgbasm</code> can interpret
!<var class="Ar">cc</var> as the opposite condition code; for example,
<code class="Ic">!nz</code> for <code class="Ic">z</code>.</p>
<p class="Pp">All reserved keywords (directives, register names, etc.) are
case-insensitive; all identifiers (labels and other symbol names) are
case-sensitive.</p>
Expand Down
Binary file modified docs/rgbasm.5.pdf
Binary file not shown.
Binary file modified docs/rgbds.5.pdf
Binary file not shown.
Binary file modified docs/rgbds.7.pdf
Binary file not shown.
Binary file modified docs/rgbfix.1.pdf
Binary file not shown.
Binary file modified docs/rgbgfx.1.pdf
Binary file not shown.
Binary file modified docs/rgblink.1.pdf
Binary file not shown.
Binary file modified docs/rgblink.5.pdf
Binary file not shown.

0 comments on commit c78cf4f

Please sign in to comment.