![kueller](/assets/img/avatar_default.png)
git-svn-id: svn://svn.compuextreme.de/Viitor/V961/Viitor_cc65@4236 504e572c-2e33-0410-9681-be2bf7408885
284 lines
17 KiB
HTML
284 lines
17 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.20">
|
|
<TITLE>ca65 Users Guide</TITLE>
|
|
<LINK HREF="ca65-1.html" REL=next>
|
|
|
|
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="ca65-1.html">Next</A>
|
|
Previous
|
|
Contents
|
|
<HR>
|
|
<H1>ca65 Users Guide</H1>
|
|
|
|
<H2>Ullrich von Bassewitz,
|
|
<A HREF="mailto:uz@cc65.org">uz@cc65.org</A></H2>19.07.2000, 29.11.2000, 02.10.2001
|
|
<HR>
|
|
<EM>ca65 is a powerful macro assembler for the 6502, 65C02 and 65816 CPUs. It is
|
|
used as a companion assembler for the cc65 crosscompiler, but it may also be
|
|
used as a standalone product.</EM>
|
|
<HR>
|
|
<P>
|
|
<H2><A NAME="toc1">1.</A> <A HREF="ca65-1.html">Overview</A></H2>
|
|
|
|
<UL>
|
|
<LI><A NAME="toc1.1">1.1</A> <A HREF="ca65-1.html#ss1.1">Design criteria</A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc2">2.</A> <A HREF="ca65-2.html">Usage</A></H2>
|
|
|
|
<UL>
|
|
<LI><A NAME="toc2.1">2.1</A> <A HREF="ca65-2.html#ss2.1">Command line option overview</A>
|
|
<LI><A NAME="toc2.2">2.2</A> <A HREF="ca65-2.html#ss2.2">Command line options in detail</A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc3">3.</A> <A HREF="ca65-3.html">Input format</A></H2>
|
|
|
|
<UL>
|
|
<LI><A NAME="toc3.1">3.1</A> <A HREF="ca65-3.html#ss3.1">Assembler syntax</A>
|
|
<LI><A NAME="toc3.2">3.2</A> <A HREF="ca65-3.html#ss3.2">65816 mode</A>
|
|
<LI><A NAME="toc3.3">3.3</A> <A HREF="ca65-3.html#ss3.3">6502X mode</A>
|
|
<LI><A NAME="toc3.4">3.4</A> <A HREF="ca65-3.html#ss3.4">sweet16 mode</A>
|
|
<LI><A NAME="toc3.5">3.5</A> <A HREF="ca65-3.html#ss3.5">Number format</A>
|
|
<LI><A NAME="toc3.6">3.6</A> <A HREF="ca65-3.html#ss3.6">Conditional assembly</A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc4">4.</A> <A HREF="ca65-4.html">Expressions</A></H2>
|
|
|
|
<UL>
|
|
<LI><A NAME="toc4.1">4.1</A> <A HREF="ca65-4.html#ss4.1">Expression evaluation</A>
|
|
<LI><A NAME="toc4.2">4.2</A> <A HREF="ca65-4.html#ss4.2">Size of an expression result</A>
|
|
<LI><A NAME="toc4.3">4.3</A> <A HREF="ca65-4.html#ss4.3">Boolean expressions</A>
|
|
<LI><A NAME="toc4.4">4.4</A> <A HREF="ca65-4.html#ss4.4">Constant expressions</A>
|
|
<LI><A NAME="toc4.5">4.5</A> <A HREF="ca65-4.html#ss4.5">Available operators</A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc5">5.</A> <A HREF="ca65-5.html">Symbols and labels</A></H2>
|
|
|
|
<UL>
|
|
<LI><A NAME="toc5.1">5.1</A> <A HREF="ca65-5.html#ss5.1">Numeric constants</A>
|
|
<LI><A NAME="toc5.2">5.2</A> <A HREF="ca65-5.html#ss5.2">Standard labels</A>
|
|
<LI><A NAME="toc5.3">5.3</A> <A HREF="ca65-5.html#ss5.3">Local labels and symbols</A>
|
|
<LI><A NAME="toc5.4">5.4</A> <A HREF="ca65-5.html#ss5.4">Cheap local labels</A>
|
|
<LI><A NAME="toc5.5">5.5</A> <A HREF="ca65-5.html#ss5.5">Unnamed labels</A>
|
|
<LI><A NAME="toc5.6">5.6</A> <A HREF="ca65-5.html#ss5.6">Using macros to define labels and constants</A>
|
|
<LI><A NAME="toc5.7">5.7</A> <A HREF="ca65-5.html#ss5.7">Symbols and <CODE>.DEBUGINFO</CODE></A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc6">6.</A> <A HREF="ca65-6.html">Scopes</A></H2>
|
|
|
|
<UL>
|
|
<LI><A NAME="toc6.1">6.1</A> <A HREF="ca65-6.html#ss6.1">Global scope</A>
|
|
<LI><A NAME="toc6.2">6.2</A> <A HREF="ca65-6.html#ss6.2">Cheap locals</A>
|
|
<LI><A NAME="toc6.3">6.3</A> <A HREF="ca65-6.html#ss6.3">Generic nested scopes</A>
|
|
<LI><A NAME="toc6.4">6.4</A> <A HREF="ca65-6.html#ss6.4">Nested procedures</A>
|
|
<LI><A NAME="toc6.5">6.5</A> <A HREF="ca65-6.html#ss6.5">Structs, unions and enums</A>
|
|
<LI><A NAME="toc6.6">6.6</A> <A HREF="ca65-6.html#ss6.6">Explicit scope specification</A>
|
|
<LI><A NAME="toc6.7">6.7</A> <A HREF="ca65-6.html#ss6.7">Scope search order</A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc7">7.</A> <A HREF="ca65-7.html">Address sizes and memory models</A></H2>
|
|
|
|
<UL>
|
|
<LI><A NAME="toc7.1">7.1</A> <A HREF="ca65-7.html#ss7.1">Address sizes</A>
|
|
<LI><A NAME="toc7.2">7.2</A> <A HREF="ca65-7.html#ss7.2">Address sizes of segments</A>
|
|
<LI><A NAME="toc7.3">7.3</A> <A HREF="ca65-7.html#ss7.3">Address sizes of symbols</A>
|
|
<LI><A NAME="toc7.4">7.4</A> <A HREF="ca65-7.html#ss7.4">Memory models</A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc8">8.</A> <A HREF="ca65-8.html">Pseudo variables</A></H2>
|
|
|
|
<UL>
|
|
<LI><A NAME="toc8.1">8.1</A> <A HREF="ca65-8.html#ss8.1"><CODE>*</CODE></A>
|
|
<LI><A NAME="toc8.2">8.2</A> <A HREF="ca65-8.html#ss8.2"><CODE>.CPU</CODE></A>
|
|
<LI><A NAME="toc8.3">8.3</A> <A HREF="ca65-8.html#ss8.3"><CODE>.PARAMCOUNT</CODE></A>
|
|
<LI><A NAME="toc8.4">8.4</A> <A HREF="ca65-8.html#ss8.4"><CODE>.TIME</CODE></A>
|
|
<LI><A NAME="toc8.5">8.5</A> <A HREF="ca65-8.html#ss8.5"><CODE>.VERSION</CODE></A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc9">9.</A> <A HREF="ca65-9.html">Pseudo functions</A></H2>
|
|
|
|
<UL>
|
|
<LI><A NAME="toc9.1">9.1</A> <A HREF="ca65-9.html#ss9.1"><CODE>.BANKBYTE</CODE></A>
|
|
<LI><A NAME="toc9.2">9.2</A> <A HREF="ca65-9.html#ss9.2"><CODE>.BLANK</CODE></A>
|
|
<LI><A NAME="toc9.3">9.3</A> <A HREF="ca65-9.html#ss9.3"><CODE>.CONCAT</CODE></A>
|
|
<LI><A NAME="toc9.4">9.4</A> <A HREF="ca65-9.html#ss9.4"><CODE>.CONST</CODE></A>
|
|
<LI><A NAME="toc9.5">9.5</A> <A HREF="ca65-9.html#ss9.5"><CODE>.HIBYTE</CODE></A>
|
|
<LI><A NAME="toc9.6">9.6</A> <A HREF="ca65-9.html#ss9.6"><CODE>.HIWORD</CODE></A>
|
|
<LI><A NAME="toc9.7">9.7</A> <A HREF="ca65-9.html#ss9.7"><CODE>.IDENT</CODE></A>
|
|
<LI><A NAME="toc9.8">9.8</A> <A HREF="ca65-9.html#ss9.8"><CODE>.LEFT</CODE></A>
|
|
<LI><A NAME="toc9.9">9.9</A> <A HREF="ca65-9.html#ss9.9"><CODE>.LOBYTE</CODE></A>
|
|
<LI><A NAME="toc9.10">9.10</A> <A HREF="ca65-9.html#ss9.10"><CODE>.LOWORD</CODE></A>
|
|
<LI><A NAME="toc9.11">9.11</A> <A HREF="ca65-9.html#ss9.11"><CODE>.MATCH</CODE></A>
|
|
<LI><A NAME="toc9.12">9.12</A> <A HREF="ca65-9.html#ss9.12"><CODE>.MID</CODE></A>
|
|
<LI><A NAME="toc9.13">9.13</A> <A HREF="ca65-9.html#ss9.13"><CODE>.REF, .REFERENCED</CODE></A>
|
|
<LI><A NAME="toc9.14">9.14</A> <A HREF="ca65-9.html#ss9.14"><CODE>.RIGHT</CODE></A>
|
|
<LI><A NAME="toc9.15">9.15</A> <A HREF="ca65-9.html#ss9.15"><CODE>.SIZEOF</CODE></A>
|
|
<LI><A NAME="toc9.16">9.16</A> <A HREF="ca65-9.html#ss9.16"><CODE>.STRAT</CODE></A>
|
|
<LI><A NAME="toc9.17">9.17</A> <A HREF="ca65-9.html#ss9.17"><CODE>.SPRINTF</CODE></A>
|
|
<LI><A NAME="toc9.18">9.18</A> <A HREF="ca65-9.html#ss9.18"><CODE>.STRING</CODE></A>
|
|
<LI><A NAME="toc9.19">9.19</A> <A HREF="ca65-9.html#ss9.19"><CODE>.STRLEN</CODE></A>
|
|
<LI><A NAME="toc9.20">9.20</A> <A HREF="ca65-9.html#ss9.20"><CODE>.TCOUNT</CODE></A>
|
|
<LI><A NAME="toc9.21">9.21</A> <A HREF="ca65-9.html#ss9.21"><CODE>.XMATCH</CODE></A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc10">10.</A> <A HREF="ca65-10.html">Control commands</A></H2>
|
|
|
|
<UL>
|
|
<LI><A NAME="toc10.1">10.1</A> <A HREF="ca65-10.html#ss10.1"><CODE>.A16</CODE></A>
|
|
<LI><A NAME="toc10.2">10.2</A> <A HREF="ca65-10.html#ss10.2"><CODE>.A8</CODE></A>
|
|
<LI><A NAME="toc10.3">10.3</A> <A HREF="ca65-10.html#ss10.3"><CODE>.ADDR</CODE></A>
|
|
<LI><A NAME="toc10.4">10.4</A> <A HREF="ca65-10.html#ss10.4"><CODE>.ALIGN</CODE></A>
|
|
<LI><A NAME="toc10.5">10.5</A> <A HREF="ca65-10.html#ss10.5"><CODE>.ASCIIZ</CODE></A>
|
|
<LI><A NAME="toc10.6">10.6</A> <A HREF="ca65-10.html#ss10.6"><CODE>.ASSERT</CODE></A>
|
|
<LI><A NAME="toc10.7">10.7</A> <A HREF="ca65-10.html#ss10.7"><CODE>.AUTOIMPORT</CODE></A>
|
|
<LI><A NAME="toc10.8">10.8</A> <A HREF="ca65-10.html#ss10.8"><CODE>.BSS</CODE></A>
|
|
<LI><A NAME="toc10.9">10.9</A> <A HREF="ca65-10.html#ss10.9"><CODE>.BYT, .BYTE</CODE></A>
|
|
<LI><A NAME="toc10.10">10.10</A> <A HREF="ca65-10.html#ss10.10"><CODE>.CASE</CODE></A>
|
|
<LI><A NAME="toc10.11">10.11</A> <A HREF="ca65-10.html#ss10.11"><CODE>.CHARMAP</CODE></A>
|
|
<LI><A NAME="toc10.12">10.12</A> <A HREF="ca65-10.html#ss10.12"><CODE>.CODE</CODE></A>
|
|
<LI><A NAME="toc10.13">10.13</A> <A HREF="ca65-10.html#ss10.13"><CODE>.CONDES</CODE></A>
|
|
<LI><A NAME="toc10.14">10.14</A> <A HREF="ca65-10.html#ss10.14"><CODE>.CONSTRUCTOR</CODE></A>
|
|
<LI><A NAME="toc10.15">10.15</A> <A HREF="ca65-10.html#ss10.15"><CODE>.DATA</CODE></A>
|
|
<LI><A NAME="toc10.16">10.16</A> <A HREF="ca65-10.html#ss10.16"><CODE>.DBYT</CODE></A>
|
|
<LI><A NAME="toc10.17">10.17</A> <A HREF="ca65-10.html#ss10.17"><CODE>.DEBUGINFO</CODE></A>
|
|
<LI><A NAME="toc10.18">10.18</A> <A HREF="ca65-10.html#ss10.18"><CODE>.DEFINE</CODE></A>
|
|
<LI><A NAME="toc10.19">10.19</A> <A HREF="ca65-10.html#ss10.19"><CODE>.DEF, .DEFINED</CODE></A>
|
|
<LI><A NAME="toc10.20">10.20</A> <A HREF="ca65-10.html#ss10.20"><CODE>.DESTRUCTOR</CODE></A>
|
|
<LI><A NAME="toc10.21">10.21</A> <A HREF="ca65-10.html#ss10.21"><CODE>.DWORD</CODE></A>
|
|
<LI><A NAME="toc10.22">10.22</A> <A HREF="ca65-10.html#ss10.22"><CODE>.ELSE</CODE></A>
|
|
<LI><A NAME="toc10.23">10.23</A> <A HREF="ca65-10.html#ss10.23"><CODE>.ELSEIF</CODE></A>
|
|
<LI><A NAME="toc10.24">10.24</A> <A HREF="ca65-10.html#ss10.24"><CODE>.END</CODE></A>
|
|
<LI><A NAME="toc10.25">10.25</A> <A HREF="ca65-10.html#ss10.25"><CODE>.ENDENUM</CODE></A>
|
|
<LI><A NAME="toc10.26">10.26</A> <A HREF="ca65-10.html#ss10.26"><CODE>.ENDIF</CODE></A>
|
|
<LI><A NAME="toc10.27">10.27</A> <A HREF="ca65-10.html#ss10.27"><CODE>.ENDMAC, .ENDMACRO</CODE></A>
|
|
<LI><A NAME="toc10.28">10.28</A> <A HREF="ca65-10.html#ss10.28"><CODE>.ENDPROC</CODE></A>
|
|
<LI><A NAME="toc10.29">10.29</A> <A HREF="ca65-10.html#ss10.29"><CODE>.ENDREP, .ENDREPEAT</CODE></A>
|
|
<LI><A NAME="toc10.30">10.30</A> <A HREF="ca65-10.html#ss10.30"><CODE>.ENDSCOPE</CODE></A>
|
|
<LI><A NAME="toc10.31">10.31</A> <A HREF="ca65-10.html#ss10.31"><CODE>.ENDSTRUCT</CODE></A>
|
|
<LI><A NAME="toc10.32">10.32</A> <A HREF="ca65-10.html#ss10.32"><CODE>.ENUM</CODE></A>
|
|
<LI><A NAME="toc10.33">10.33</A> <A HREF="ca65-10.html#ss10.33"><CODE>.ERROR</CODE></A>
|
|
<LI><A NAME="toc10.34">10.34</A> <A HREF="ca65-10.html#ss10.34"><CODE>.EXITMAC, .EXITMACRO</CODE></A>
|
|
<LI><A NAME="toc10.35">10.35</A> <A HREF="ca65-10.html#ss10.35"><CODE>.EXPORT</CODE></A>
|
|
<LI><A NAME="toc10.36">10.36</A> <A HREF="ca65-10.html#ss10.36"><CODE>.EXPORTZP</CODE></A>
|
|
<LI><A NAME="toc10.37">10.37</A> <A HREF="ca65-10.html#ss10.37"><CODE>.FARADDR</CODE></A>
|
|
<LI><A NAME="toc10.38">10.38</A> <A HREF="ca65-10.html#ss10.38"><CODE>.FEATURE</CODE></A>
|
|
<LI><A NAME="toc10.39">10.39</A> <A HREF="ca65-10.html#ss10.39"><CODE>.FILEOPT, .FOPT</CODE></A>
|
|
<LI><A NAME="toc10.40">10.40</A> <A HREF="ca65-10.html#ss10.40"><CODE>.FORCEIMPORT</CODE></A>
|
|
<LI><A NAME="toc10.41">10.41</A> <A HREF="ca65-10.html#ss10.41"><CODE>.GLOBAL</CODE></A>
|
|
<LI><A NAME="toc10.42">10.42</A> <A HREF="ca65-10.html#ss10.42"><CODE>.GLOBALZP</CODE></A>
|
|
<LI><A NAME="toc10.43">10.43</A> <A HREF="ca65-10.html#ss10.43"><CODE>.I16</CODE></A>
|
|
<LI><A NAME="toc10.44">10.44</A> <A HREF="ca65-10.html#ss10.44"><CODE>.I8</CODE></A>
|
|
<LI><A NAME="toc10.45">10.45</A> <A HREF="ca65-10.html#ss10.45"><CODE>.IF</CODE></A>
|
|
<LI><A NAME="toc10.46">10.46</A> <A HREF="ca65-10.html#ss10.46"><CODE>.IFBLANK</CODE></A>
|
|
<LI><A NAME="toc10.47">10.47</A> <A HREF="ca65-10.html#ss10.47"><CODE>.IFCONST</CODE></A>
|
|
<LI><A NAME="toc10.48">10.48</A> <A HREF="ca65-10.html#ss10.48"><CODE>.IFDEF</CODE></A>
|
|
<LI><A NAME="toc10.49">10.49</A> <A HREF="ca65-10.html#ss10.49"><CODE>.IFNBLANK</CODE></A>
|
|
<LI><A NAME="toc10.50">10.50</A> <A HREF="ca65-10.html#ss10.50"><CODE>.IFNDEF</CODE></A>
|
|
<LI><A NAME="toc10.51">10.51</A> <A HREF="ca65-10.html#ss10.51"><CODE>.IFNREF</CODE></A>
|
|
<LI><A NAME="toc10.52">10.52</A> <A HREF="ca65-10.html#ss10.52"><CODE>.IFP02</CODE></A>
|
|
<LI><A NAME="toc10.53">10.53</A> <A HREF="ca65-10.html#ss10.53"><CODE>.IFP816</CODE></A>
|
|
<LI><A NAME="toc10.54">10.54</A> <A HREF="ca65-10.html#ss10.54"><CODE>.IFPC02</CODE></A>
|
|
<LI><A NAME="toc10.55">10.55</A> <A HREF="ca65-10.html#ss10.55"><CODE>.IFPSC02</CODE></A>
|
|
<LI><A NAME="toc10.56">10.56</A> <A HREF="ca65-10.html#ss10.56"><CODE>.IFREF</CODE></A>
|
|
<LI><A NAME="toc10.57">10.57</A> <A HREF="ca65-10.html#ss10.57"><CODE>.IMPORT</CODE></A>
|
|
<LI><A NAME="toc10.58">10.58</A> <A HREF="ca65-10.html#ss10.58"><CODE>.IMPORTZP</CODE></A>
|
|
<LI><A NAME="toc10.59">10.59</A> <A HREF="ca65-10.html#ss10.59"><CODE>.INCBIN</CODE></A>
|
|
<LI><A NAME="toc10.60">10.60</A> <A HREF="ca65-10.html#ss10.60"><CODE>.INCLUDE</CODE></A>
|
|
<LI><A NAME="toc10.61">10.61</A> <A HREF="ca65-10.html#ss10.61"><CODE>.INTERRUPTOR</CODE></A>
|
|
<LI><A NAME="toc10.62">10.62</A> <A HREF="ca65-10.html#ss10.62"><CODE>.LINECONT</CODE></A>
|
|
<LI><A NAME="toc10.63">10.63</A> <A HREF="ca65-10.html#ss10.63"><CODE>.LIST</CODE></A>
|
|
<LI><A NAME="toc10.64">10.64</A> <A HREF="ca65-10.html#ss10.64"><CODE>.LISTBYTES</CODE></A>
|
|
<LI><A NAME="toc10.65">10.65</A> <A HREF="ca65-10.html#ss10.65"><CODE>.LOCAL</CODE></A>
|
|
<LI><A NAME="toc10.66">10.66</A> <A HREF="ca65-10.html#ss10.66"><CODE>.LOCALCHAR</CODE></A>
|
|
<LI><A NAME="toc10.67">10.67</A> <A HREF="ca65-10.html#ss10.67"><CODE>.MACPACK</CODE></A>
|
|
<LI><A NAME="toc10.68">10.68</A> <A HREF="ca65-10.html#ss10.68"><CODE>.MAC, .MACRO</CODE></A>
|
|
<LI><A NAME="toc10.69">10.69</A> <A HREF="ca65-10.html#ss10.69"><CODE>.ORG</CODE></A>
|
|
<LI><A NAME="toc10.70">10.70</A> <A HREF="ca65-10.html#ss10.70"><CODE>.OUT</CODE></A>
|
|
<LI><A NAME="toc10.71">10.71</A> <A HREF="ca65-10.html#ss10.71"><CODE>.P02</CODE></A>
|
|
<LI><A NAME="toc10.72">10.72</A> <A HREF="ca65-10.html#ss10.72"><CODE>.P816</CODE></A>
|
|
<LI><A NAME="toc10.73">10.73</A> <A HREF="ca65-10.html#ss10.73"><CODE>.PAGELEN, .PAGELENGTH</CODE></A>
|
|
<LI><A NAME="toc10.74">10.74</A> <A HREF="ca65-10.html#ss10.74"><CODE>.PC02</CODE></A>
|
|
<LI><A NAME="toc10.75">10.75</A> <A HREF="ca65-10.html#ss10.75"><CODE>.POPSEG</CODE></A>
|
|
<LI><A NAME="toc10.76">10.76</A> <A HREF="ca65-10.html#ss10.76"><CODE>.PROC</CODE></A>
|
|
<LI><A NAME="toc10.77">10.77</A> <A HREF="ca65-10.html#ss10.77"><CODE>.PSC02</CODE></A>
|
|
<LI><A NAME="toc10.78">10.78</A> <A HREF="ca65-10.html#ss10.78"><CODE>.PUSHSEG</CODE></A>
|
|
<LI><A NAME="toc10.79">10.79</A> <A HREF="ca65-10.html#ss10.79"><CODE>.RELOC</CODE></A>
|
|
<LI><A NAME="toc10.80">10.80</A> <A HREF="ca65-10.html#ss10.80"><CODE>.REPEAT</CODE></A>
|
|
<LI><A NAME="toc10.81">10.81</A> <A HREF="ca65-10.html#ss10.81"><CODE>.RES</CODE></A>
|
|
<LI><A NAME="toc10.82">10.82</A> <A HREF="ca65-10.html#ss10.82"><CODE>.RODATA</CODE></A>
|
|
<LI><A NAME="toc10.83">10.83</A> <A HREF="ca65-10.html#ss10.83"><CODE>.SCOPE</CODE></A>
|
|
<LI><A NAME="toc10.84">10.84</A> <A HREF="ca65-10.html#ss10.84"><CODE>.SEGMENT</CODE></A>
|
|
<LI><A NAME="toc10.85">10.85</A> <A HREF="ca65-10.html#ss10.85"><CODE>.SETCPU</CODE></A>
|
|
<LI><A NAME="toc10.86">10.86</A> <A HREF="ca65-10.html#ss10.86"><CODE>.SMART</CODE></A>
|
|
<LI><A NAME="toc10.87">10.87</A> <A HREF="ca65-10.html#ss10.87"><CODE>.STRUCT</CODE></A>
|
|
<LI><A NAME="toc10.88">10.88</A> <A HREF="ca65-10.html#ss10.88"><CODE>.SUNPLUS</CODE></A>
|
|
<LI><A NAME="toc10.89">10.89</A> <A HREF="ca65-10.html#ss10.89"><CODE>.TAG</CODE></A>
|
|
<LI><A NAME="toc10.90">10.90</A> <A HREF="ca65-10.html#ss10.90"><CODE>.WARNING</CODE></A>
|
|
<LI><A NAME="toc10.91">10.91</A> <A HREF="ca65-10.html#ss10.91"><CODE>.WORD</CODE></A>
|
|
<LI><A NAME="toc10.92">10.92</A> <A HREF="ca65-10.html#ss10.92"><CODE>.ZEROPAGE</CODE></A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc11">11.</A> <A HREF="ca65-11.html">Macros</A></H2>
|
|
|
|
<UL>
|
|
<LI><A NAME="toc11.1">11.1</A> <A HREF="ca65-11.html#ss11.1">Introduction</A>
|
|
<LI><A NAME="toc11.2">11.2</A> <A HREF="ca65-11.html#ss11.2">Macros without parameters</A>
|
|
<LI><A NAME="toc11.3">11.3</A> <A HREF="ca65-11.html#ss11.3">Parametrized macros</A>
|
|
<LI><A NAME="toc11.4">11.4</A> <A HREF="ca65-11.html#ss11.4">Detecting parameter types</A>
|
|
<LI><A NAME="toc11.5">11.5</A> <A HREF="ca65-11.html#ss11.5">Recursive macros</A>
|
|
<LI><A NAME="toc11.6">11.6</A> <A HREF="ca65-11.html#ss11.6">Local symbols inside macros</A>
|
|
<LI><A NAME="toc11.7">11.7</A> <A HREF="ca65-11.html#ss11.7">C style macros</A>
|
|
<LI><A NAME="toc11.8">11.8</A> <A HREF="ca65-11.html#ss11.8">Characters in macros</A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc12">12.</A> <A HREF="ca65-12.html">Macro packages</A></H2>
|
|
|
|
<UL>
|
|
<LI><A NAME="toc12.1">12.1</A> <A HREF="ca65-12.html#ss12.1"><CODE>.MACPACK generic</CODE></A>
|
|
<LI><A NAME="toc12.2">12.2</A> <A HREF="ca65-12.html#ss12.2"><CODE>.MACPACK longbranch</CODE></A>
|
|
<LI><A NAME="toc12.3">12.3</A> <A HREF="ca65-12.html#ss12.3"><CODE>.MACPACK cbm</CODE></A>
|
|
<LI><A NAME="toc12.4">12.4</A> <A HREF="ca65-12.html#ss12.4"><CODE>.MACPACK cpu</CODE></A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc13">13.</A> <A HREF="ca65-13.html">Predefined constants</A></H2>
|
|
|
|
<P>
|
|
<H2><A NAME="toc14">14.</A> <A HREF="ca65-14.html">Structs and unions</A></H2>
|
|
|
|
<UL>
|
|
<LI><A NAME="toc14.1">14.1</A> <A HREF="ca65-14.html#ss14.1">Overview</A>
|
|
<LI><A NAME="toc14.2">14.2</A> <A HREF="ca65-14.html#ss14.2">Declaration</A>
|
|
<LI><A NAME="toc14.3">14.3</A> <A HREF="ca65-14.html#ss14.3">The <CODE>.TAG</CODE> keyword</A>
|
|
<LI><A NAME="toc14.4">14.4</A> <A HREF="ca65-14.html#ss14.4">Limitations</A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc15">15.</A> <A HREF="ca65-15.html">Module constructors/destructors</A></H2>
|
|
|
|
<UL>
|
|
<LI><A NAME="toc15.1">15.1</A> <A HREF="ca65-15.html#ss15.1">Overview</A>
|
|
<LI><A NAME="toc15.2">15.2</A> <A HREF="ca65-15.html#ss15.2">Calling order</A>
|
|
<LI><A NAME="toc15.3">15.3</A> <A HREF="ca65-15.html#ss15.3">Pitfalls</A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc16">16.</A> <A HREF="ca65-16.html">Porting sources from other assemblers</A></H2>
|
|
|
|
<UL>
|
|
<LI><A NAME="toc16.1">16.1</A> <A HREF="ca65-16.html#ss16.1">TASS</A>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="toc17">17.</A> <A HREF="ca65-17.html">Bugs/Feedback</A></H2>
|
|
|
|
<P>
|
|
<H2><A NAME="toc18">18.</A> <A HREF="ca65-18.html">Copyright</A></H2>
|
|
|
|
<HR>
|
|
<A HREF="ca65-1.html">Next</A>
|
|
Previous
|
|
Contents
|
|
</BODY>
|
|
</HTML>
|