diff docs/manual/x659.html @ 478:a71206ed966c lwtools-4.16

Update manual in preparation for release
author William Astle <lost@l-w.ca>
date Wed, 12 Dec 2018 20:00:59 -0700
parents cad5937314cb
children
line wrap: on
line diff
--- a/docs/manual/x659.html	Wed Dec 12 19:58:36 2018 -0700
+++ b/docs/manual/x659.html	Wed Dec 12 20:00:59 2018 -0700
@@ -17,7 +17,7 @@
 HREF="x595.html"><LINK
 REL="NEXT"
 TITLE="Convenience Instructions"
-HREF="x800.html"></HEAD
+HREF="x805.html"></HEAD
 ><BODY
 CLASS="SECTION"
 BGCOLOR="#FFFFFF"
@@ -59,7 +59,7 @@
 ALIGN="right"
 VALIGN="bottom"
 ><A
-HREF="x800.html"
+HREF="x805.html"
 ACCESSKEY="N"
 >Next</A
 ></TD
@@ -198,7 +198,7 @@
 >These pragmas enable convenience instructions extending the 6809 and 6309
 instruction sets respectively. For more information, see 
 <A
-HREF="x800.html"
+HREF="x805.html"
 >Section 3.11</A
 >.</P
 ></DD
@@ -467,6 +467,28 @@
 1D24 1D24              FDB   *         ;.1d24
 1D26                   xyz   INV       ;.E:32    (Error 32 is "Bad opcode")</PRE
 ></DD
+><DT
+>emuext</DT
+><DD
+><P
+>&#13;This pragma enables two instructions useful when running code in compatible
+emulators. Break breaks into the debugger. Log writes printf-style
+output to the debug window&#13;</P
+><PRE
+CLASS="PROGRAMLISTING"
+>      LOG           ; log output
+      FDB   FSTR    ; pointer to format string
+      FDB   PX1     ; 16 bit pointer to 16 bit value
+      FDB   PY1     ; 16 bit pointer to 8 bit value (see format string!)
+      FDB   PX2     ; 16 bit pointer to 16 bit value
+      FDB   PY2     ; 16 bit pointer to 8 bit value
+      ; execution continues here ...
+      RTS
+
+; format string
+FSTR  FCC   "%hu,%hhu - %hu,%hhu"
+      FCB   10,0</PRE
+></DD
 ></DL
 ></DIV
 ><P
@@ -520,7 +542,7 @@
 ALIGN="right"
 VALIGN="top"
 ><A
-HREF="x800.html"
+HREF="x805.html"
 ACCESSKEY="N"
 >Next</A
 ></TD