⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 da65-2.html

📁 cc65 的编译器文档
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><HTML><HEAD> <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.20"> <TITLE>da65 Users Guide: Usage</TITLE> <LINK HREF="da65-3.html" REL=next> <LINK HREF="da65-1.html" REL=previous> <LINK HREF="da65.html#toc2" REL=contents></HEAD><BODY><A HREF="da65-3.html">Next</A><A HREF="da65-1.html">Previous</A><A HREF="da65.html#toc2">Contents</A><HR><H2><A NAME="s2">2.</A> <A HREF="da65.html#toc2">Usage</A></H2><H2><A NAME="ss2.1">2.1</A> <A HREF="da65.html#toc2.1">Command line option overview</A></H2><P>The assembler accepts the following options:</P><P><BLOCKQUOTE><CODE><PRE>---------------------------------------------------------------------------Usage: da65 [options] [inputfile]Short options:  -g                    Add debug info to object file  -h                    Help (this text)  -i name               Specify an info file  -o name               Name the output file  -v                    Increase verbosity  -F                    Add formfeeds to the output  -S addr               Set the start/load address  -V                    Print the disassembler versionLong options:  --comments n          Set the comment level for the output  --cpu type            Set cpu type  --debug-info          Add debug info to object file  --formfeeds           Add formfeeds to the output  --help                Help (this text)  --info name           Specify an info file  --pagelength n        Set the page length for the listing  --start-addr addr     Set the start/load address  --verbose             Increase verbosity  --version             Print the disassembler version---------------------------------------------------------------------------</PRE></CODE></BLOCKQUOTE></P><H2><A NAME="ss2.2">2.2</A> <A HREF="da65.html#toc2.2">Command line options in detail</A></H2><P>Here is a description of all the command line options:</P><P><DL><P><A NAME="option--comments"></A> </P><DT><B><CODE>--comments n</CODE></B><DD><P>Set the comment level for the output. Valid arguments are 0..4. Greatervalues will increase the level of additional information written to theoutput file in form of comments.</P><P><A NAME="option--cpu"></A> </P><DT><B><CODE>--cpu type</CODE></B><DD><P>Set the CPU type. The option takes a parameter, which may be one of</P><P>6502, 65SC02, 65C02</P><P>Support for the 65816 is currently not available.</P><P><A NAME="option--formfeeds"></A> </P><DT><B><CODE>-F, --formfeeds</CODE></B><DD><P>Add formfeeds to the generated output. This feature is useful togetherwith the <CODE><A HREF="#option--pagelength">--pagelength</A></CODE> option.If <CODE>--formfeeds</CODE> is given, a formfeed is added to the output after eachpage.</P><DT><B><CODE>-g, --debug-info</CODE></B><DD><P>This option adds the <CODE>.DEBUGINFO</CODE> command to the output file, so theassembler will generate debug information when reassembling the generatedoutput.</P><DT><B><CODE>-h, --help</CODE></B><DD><P>Print the short option summary shown above.</P><P><A NAME="option--info"></A> </P><DT><B><CODE>-i name, --info name</CODE></B><DD><P>Specify an info file. The info file contains global options that mayoverride or replace command line options plus informations about the codethat has to be disassembled. See the separate section <A HREF="da65-4.html#infofile">Info File Format</A>.</P><P><A NAME="option-o"></A> </P><DT><B><CODE>-o name</CODE></B><DD><P>Specify a name for an output file. The default is to use <CODE>stdout</CODE>, sowithout this switch or the corresponding <A HREF="da65-4.html#global-options">global option</A> <CODE><A HREF="da65-4.html#OUTPUTNAME">OUTPUTNAME</A></CODE>,the output will go to the terminal.</P><P><A NAME="option--pagelength"></A> </P><DT><B><CODE>--pagelength n</CODE></B><DD><P>Sets the length of a listing page in lines. After this number of lines, anew page header is generated. If the <CODE><A HREF="#option--formfeeds">--formfeeds</A></CODE> is also given, a formfeed is inserted beforegenerating the page header.</P><P>A value of zero for the page length will disable paging of the output.</P><P><A NAME="option--start-addr"></A> </P><DT><B><CODE>-S addr, --start-addr addr</CODE></B><DD><P>Specify the start/load address of the binary code that is going to bedisassembled. The given address is interpreted as an octal value ifpreceeded with a '0' digit, as a hexadecimal value if preceeded with '0x','0X', or '$', and as a decimal value in all other cases. If no start addressis specified, $10000 minus the size of the input file is used.</P><DT><B><CODE>-v, --verbose</CODE></B><DD><P>Increase the disassembler verbosity. Usually only needed for debuggingpurposes. You may use this option more than one time for even moreverbose output.</P><DT><B><CODE>-V, --version</CODE></B><DD><P>Print the version number of the assembler. If you send any suggestionsor bugfixes, please include the version number.</P></DL></P><HR><A HREF="da65-3.html">Next</A><A HREF="da65-1.html">Previous</A><A HREF="da65.html#toc2">Contents</A></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -