Skip to content
An Emacs mode for editing SpinAsm assembler code.
Emacs Lisp Python AutoIt
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

SpinAsm Emacs Mode

This is an Emacs mode for editing SpinAsm assembler code for the Spin Semiconductor FV-1 DSP chip.

Unfortunately the SpinAsm IDE is only available for Windows, but this mode allows Macintosh and GNU/Linux hosts to start the assembler running in a Windows VirtualBox guest machine.


  1. Emacs
  2. VirtualBox with a Windows guest machine
  3. shared folder between the host and the guest machine (using your host's home folder is probably the easiest solution)
  4. AutoIt installed on Windows guest
  5. SpinAsm IDE installed on Windows guest


The following instructions assume that you are familiar with Emacs and VirtualBox.

Put this folder in your Emacs' load-path and add this to your .emacs file:

(require 'spinasm-mode)
(add-to-list 'auto-mode-alist '("\\.asm$" . spinasm-mode))
(add-to-list 'auto-mode-alist '("\\.spn$" . spinasm-mode))

Set all entries in the spinasm customization group according to your system (M-x customize-group spinasm). You can call spinasm without any parameters to get some help what all its parameters are all about.

Finally you should update the two variables defined in the AutoIt script spn.au3. $spinasm_exe is the full path to the SpinAsm IDE on your Windows guest and $open_window_title is the title of the SpinAsm IDE open file dialog opened by selecting the respective menu entry.


Copyright © 2011 Sebastian Gutsfeld

Files are licensed under the same license as Emacs unless otherwise specified. See the file COPYING for details.

You can’t perform that action at this time.