File: asm-mode.el.html

This mode was written by Eric S. Raymond <esr@thyrsus.com>, inspired by an earlier asm-mode by Martin Neitzel.

This major mode is based on prog-mode. It defines a private abbrev table that can be used to save abbrevs for assembler mnemonics. It binds just five keys:

TAB tab to next tab stop
: outdent preceding label, tab to tab stop
comment char place or move comment
asm-comment-char specifies which character this is;
you can use a different character in different
Asm mode buffers.
C-j, C-m newline and tab to tab stop

Code is indented to the first tab stop level.

This mode runs the hook asm-mode-hook at the end of initialization.

Defined variables (7)

asm-comment-charThe ‘comment-start’ character assumed by Asm mode.
asm-font-lock-keywordsAdditional expressions to highlight in Assembler mode.
asm-mode-abbrev-tableAbbrev table used while in Asm mode.
asm-mode-hookHook run after entering ‘asm-mode’.
asm-mode-mapKeymap for Asm mode.
asm-mode-menuMenu for Asm mode.
asm-mode-syntax-tableSyntax table used while in Asm mode.

Defined functions (7)

asm--safe-comment-char-p(CHAR)
asm-colon()
asm-comment()
asm-indent-line()
asm-mode()
asm-mode-menu(ARG1)
asm-newline(&optional ARG)

Defined faces (0)