comparison 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
comparison
equal deleted inserted replaced
477:221b8964662a 478:a71206ed966c
15 REL="PREVIOUS" 15 REL="PREVIOUS"
16 TITLE="Object Files and Sections" 16 TITLE="Object Files and Sections"
17 HREF="x595.html"><LINK 17 HREF="x595.html"><LINK
18 REL="NEXT" 18 REL="NEXT"
19 TITLE="Convenience Instructions" 19 TITLE="Convenience Instructions"
20 HREF="x800.html"></HEAD 20 HREF="x805.html"></HEAD
21 ><BODY 21 ><BODY
22 CLASS="SECTION" 22 CLASS="SECTION"
23 BGCOLOR="#FFFFFF" 23 BGCOLOR="#FFFFFF"
24 TEXT="#000000" 24 TEXT="#000000"
25 LINK="#0000FF" 25 LINK="#0000FF"
57 ><TD 57 ><TD
58 WIDTH="10%" 58 WIDTH="10%"
59 ALIGN="right" 59 ALIGN="right"
60 VALIGN="bottom" 60 VALIGN="bottom"
61 ><A 61 ><A
62 HREF="x800.html" 62 HREF="x805.html"
63 ACCESSKEY="N" 63 ACCESSKEY="N"
64 >Next</A 64 >Next</A
65 ></TD 65 ></TD
66 ></TR 66 ></TR
67 ></TABLE 67 ></TABLE
196 ><DD 196 ><DD
197 ><P 197 ><P
198 >These pragmas enable convenience instructions extending the 6809 and 6309 198 >These pragmas enable convenience instructions extending the 6809 and 6309
199 instruction sets respectively. For more information, see 199 instruction sets respectively. For more information, see
200 <A 200 <A
201 HREF="x800.html" 201 HREF="x805.html"
202 >Section 3.11</A 202 >Section 3.11</A
203 >.</P 203 >.</P
204 ></DD 204 ></DD
205 ><DT 205 ><DT
206 >index0tonone</DT 206 >index0tonone</DT
464 CLASS="PROGRAMLISTING" 464 CLASS="PROGRAMLISTING"
465 >1D1E 7D1D1D TST WHICH1 ;.7d1d1d 465 >1D1E 7D1D1D TST WHICH1 ;.7d1d1d
466 1D21 2A0139 BMI ?RTS ;.2a0139 466 1D21 2A0139 BMI ?RTS ;.2a0139
467 1D24 1D24 FDB * ;.1d24 467 1D24 1D24 FDB * ;.1d24
468 1D26 xyz INV ;.E:32 (Error 32 is "Bad opcode")</PRE 468 1D26 xyz INV ;.E:32 (Error 32 is "Bad opcode")</PRE
469 ></DD
470 ><DT
471 >emuext</DT
472 ><DD
473 ><P
474 >&#13;This pragma enables two instructions useful when running code in compatible
475 emulators. Break breaks into the debugger. Log writes printf-style
476 output to the debug window&#13;</P
477 ><PRE
478 CLASS="PROGRAMLISTING"
479 > LOG ; log output
480 FDB FSTR ; pointer to format string
481 FDB PX1 ; 16 bit pointer to 16 bit value
482 FDB PY1 ; 16 bit pointer to 8 bit value (see format string!)
483 FDB PX2 ; 16 bit pointer to 16 bit value
484 FDB PY2 ; 16 bit pointer to 8 bit value
485 ; execution continues here ...
486 RTS
487
488 ; format string
489 FSTR FCC "%hu,%hhu - %hu,%hhu"
490 FCB 10,0</PRE
469 ></DD 491 ></DD
470 ></DL 492 ></DL
471 ></DIV 493 ></DIV
472 ><P 494 ><P
473 >As a convenience, each input file has a pragma state stack. This 495 >As a convenience, each input file has a pragma state stack. This
518 ><TD 540 ><TD
519 WIDTH="33%" 541 WIDTH="33%"
520 ALIGN="right" 542 ALIGN="right"
521 VALIGN="top" 543 VALIGN="top"
522 ><A 544 ><A
523 HREF="x800.html" 545 HREF="x805.html"
524 ACCESSKEY="N" 546 ACCESSKEY="N"
525 >Next</A 547 >Next</A
526 ></TD 548 ></TD
527 ></TR 549 ></TR
528 ><TR 550 ><TR