Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
usage [2020/02/20 09:30] neilsusage [2020/02/20 09:52] – [Step 1: install DASM] neils
Line 13: Line 13:
   * Go to [[https://github.com/dasm-assembler/dasm/releases|this page]] and download the latest **DASM** release for your operating system.   * Go to [[https://github.com/dasm-assembler/dasm/releases|this page]] and download the latest **DASM** release for your operating system.
   * Extract the package to a location that you'll remember   * Extract the package to a location that you'll remember
 +  * On Linux, you have to add the executable permission: ''chmod +x xcbasic64''
   * Recommended: add the executable to the PATH environment variable to make it callable from anywhere. If you don't know how to do this, read one of these guides: [[https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/|Windows]], [[https://linuxize.com/post/how-to-add-directory-to-path-in-linux/|Linux and macOS]]. On Linux, it's often easier to symlink to the executable in a standard bin directory, e.g ///usr/bin//.   * Recommended: add the executable to the PATH environment variable to make it callable from anywhere. If you don't know how to do this, read one of these guides: [[https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/|Windows]], [[https://linuxize.com/post/how-to-add-directory-to-path-in-linux/|Linux and macOS]]. On Linux, it's often easier to symlink to the executable in a standard bin directory, e.g ///usr/bin//.
  
Line 29: Line 30:
  The following command line options can be used:  The following command line options can be used:
  
 +
 +
 +| ''-o'' or ''--output='' | Output type. Possible values are: ''prg'' (default) or ''asm''. \\ If set to ''asm'', DASM will not be invoked and the intermediate assembly source will be output. |
 +|''-d'' or ''--dasm=''|Path to the DASM executable. Defaults to "dasm.exe" (Windows) or "dasm" (Linux/Mac). \\ This is required only if DASM is not in the executable path or you want to override this value for some reason.|
 +|''-s'' or ''--symbol=''|Symbol dump file name. \\ This is passed to DASM as it is. It is useful for debugging your program|
 +|''-l'' or ''--list=''|List file name. \\ This is passed to DASM as it is. Also useful for debugging.|
 +|''-n'' or ''--noopt''| Do NOT run the optimizer|
 +|'' -h'' or ''--help''| Display help|