The assembler accepts the following options:
---------------------------------------------------------------------------
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 version
Long 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
---------------------------------------------------------------------------
Here is a description of all the command line options:
--comments n
Set the comment level for the output. Valid arguments are 0..4. Greater values will increase the level of additional information written to the output file in form of comments.
--cpu type
Set the CPU type. The option takes a parameter, which may be one of
6502, 65SC02, 65C02
Support for the 65816 is currently not available.
-F, --formfeeds
Add formfeeds to the generated output. This feature is useful together
with the
--pagelength
option.
If --formfeeds
is given, a formfeed is added to the output after each
page.
-g, --debug-info
This option adds the .DEBUGINFO
command to the output file, so the
assembler will generate debug information when reassembling the generated
output.
-h, --help
Print the short option summary shown above.
-i name, --info name
Specify an info file. The info file contains global options that may override or replace command line options plus informations about the code that has to be disassembled. See the separate section Info File Format.
-o name
Specify a name for an output file. The default is to use stdout
, so
without this switch or the corresponding
global option
OUTPUTNAME
,
the output will go to the terminal.
--pagelength n
Sets the length of a listing page in lines. After this number of lines, a
new page header is generated. If the
--formfeeds
is also given, a formfeed is inserted before
generating the page header.
A value of zero for the page length will disable paging of the output.
-S addr, --start-addr addr
Specify the start/load address of the binary code that is going to be disassembled. The given address is interpreted as an octal value if preceded with a '0' digit, as a hexadecimal value if preceded with '0x', '0X', or '$', and as a decimal value in all other cases. If no start address is specified, $10000 minus the size of the input file is used.
-v, --verbose
Increase the disassembler verbosity. Usually only needed for debugging purposes. You may use this option more than one time for even more verbose output.
-V, --version
Print the version number of the assembler. If you send any suggestions or bugfixes, please include the version number.