acme-mode
Information
This is a simple major mode for emacs for the ACME assembler syntax. It is based on the asm-mode from emacs with some modifications to better suite the ACME syntax.The ACME assembler is a multi-platform cross-compiler for 6502/6510/... used in various 8-bit machines, like the C64.
Features
- basic syntax highlighting
- automatic indentation
- re-indent when entering the ":" character for labels (even though labels does not to be followed by a colon)
- special handling for + and - anonymous labels (puts label in first column)
- shift-tab re-indents the current line
- comment character ";" will comment the current line if entered within the line; when entered at the end of the line a comment after the current line is created; when entered twice on an empty line, a comment at column 0 is created
- multi-line comment wrapping with Meta-q
acme-mode is free software released under the GNU General Public License V3 or later.
acme-mode is (C) 2020 Ralf Hoffmann.
Download
The current release is acme-mode 2020-03-16 (5 kB) (signature)
Changes
- 2020-03-16:
- first release
Installation
- Copy acme-mode.el to your emacs lisp dir
- Add the following to your .emacs file:
(require 'acme-mode)
- End your source file name with .acme for automatic activation. Otherwise activate "acme-mode" manually.