Function: mixal-mode
mixal-mode is an autoloaded, interactive and byte-compiled function
defined in mixal-mode.el.gz.
Signature
(mixal-mode)
Documentation
Major mode for the mixal asm language.
In addition to any hooks its parent mode prog-mode might have run,
this mode runs the hook mixal-mode-hook, as the final or penultimate
step during initialization.
C-c C-c compile
C-c C-d mixal-debug
C-c C-r mixal-run
C-h C-o mixal-describe-operation-code
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/mixal-mode.el.gz
;;;###autoload
(define-derived-mode mixal-mode prog-mode "mixal"
"Major mode for the mixal asm language."
(setq-local comment-start "*")
(setq-local comment-start-skip "^\\*[ \t]*")
(setq-local font-lock-defaults
'(mixal-font-lock-keywords))
(setq-local syntax-propertize-function
mixal-syntax-propertize-function)
;; might add an indent function in the future
;; (setq-local indent-line-function 'mixal-indent-line)
(setq-local compile-command
(concat "mixasm "
(if buffer-file-name
(shell-quote-argument buffer-file-name)))))