Command line options

All command line options begin with a dash (-) and unlike earlier versions of the assembler can appear before, after or inbetween the source filenames.

 

General CASM options:
-help Displays list of command line options
-? Displays list of command line options
-6809 Allow only 6809 Opcodes
-D Define symbol
-C Use case sensative labels
-silent Run in silent mode
--no-warn Disable warnings
Output file options:
-O Set output directory
-o Set output name
-bin Generate CoCo RS-DOS binary file
-s19 Generate S-record file
-rom Generate a padded ROM file
-raw Generate raw binary file
-mod Generate shared object module
-os9 Generate Microware OS-9 module
-rof Generate Microware Relocatable Object File
-obj Generate CASM object file
-noout Assemble only, do not generate output file
Compatibilty options:
--mode-rma Assemble in RMA compatibility mode
--mode-macro80c Assemble in Macro-80c compatibility mode
--mode-edtasm Assemble in EDTASM+ compatibility mode
--mode-edtasm6309 Assemble in EDTASM6309 compatibility mode
--mode-ccasm Assemble in CCASM compatibility mode
--warn-portable Warn of source code portability issues
--force-zero-offset Enable explicit 0 index offset
--force-pc-relative Use relative offsets for both PC and PCR on indexed addressing modes
--disable-macros Disable use of macros
--disable-locals Disable use of local labels
--strict-locals Enable use of strict local label rules
--ignore-case Ignore case on symbols
--enable-precedence Enable operator precedence in expressions
Assembler listing options:
-list Generate formatted source file listing to stdout
-nolist Source output disabled
-cycle Cycle count enabled
-slist Generate formatted list of labels
-xref Cross refence table disabled
-expand Macro definitions will be expanded in listing
-opt Display number of lines that could be optmized
-alert Display source lines containing branch instructions that can be optimized
-noln Do not print line numbers in listing
-noopdata Do not print opcode data in listing
-cm Comment out macros in listing