Skip to content

Instantly share code, notes, and snippets.

@iKlsR
Created December 19, 2012 20:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iKlsR/4340258 to your computer and use it in GitHub Desktop.
Save iKlsR/4340258 to your computer and use it in GitHub Desktop.
x86_64 assembly build system for sublime text 2
{
"cmd": ["nasm", "-f", "bin", "${file}", "-o", "${file_path}/${file_base_name}.COM"],
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}"
}
// syntax for cmdline building : http://www.nasm.us/xdoc/2.10.06/html/nasmdoc2.html#section-2.1
// syntax for sublime build system : http://sublimetext.info/docs/en/reference/build_systems.html (outdated)?
// replace nasm and update switches as needed.. ;ie.. fasm etc
// ${file} refers to the current saved file.. ${file_path} etc..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment