TDL Z80 Relocating/Linking Assembler V2 User's Manual Page 68 Appendix G: Assembler Operation with CP/M The TDL Z80 Relocating/Linking Assembler is initiated by the CP/M command: ASM {sd:}file{.ext} {dd:}{switches} where sd is the optional CP/M disk specification for the source file (defaults to the logged in disk) file is the source file name ext is the optional source file extension (defaults to ASM) dd is the optional CP/M disk specification for the output files (defaults to the same as the source file) switches are the optional assembly control switches, each of which is a single letter and which may appear in any order (with no intervening spaces) The object file created by the assembly will have the same name as the source file, with an extension of .HEX if the .PABS option was used, and .REL if the .PREL option was used (the default). Switches -------- A .LALL B listing to both disk and list device C .LCTL D listing to disk (file name same as source with extension of PRN) H .PHEX (CP/M default is .PBIN) I .LIMAGE K .XLINK (CP/M default is .LINK) L listing only — no object file generated O object only — no listing generated P .PSYM S .SALL X .XLIST Y .XSYM Note that all switches with pseudo—op equivalents will be overridden by contrary pseudo—ops within the source program.