| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/progmodes/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\313\314DD\315\316\317%\207" [custom-declare-group asm nil "Mode for editing assembler code." :link (custom-group-link :tag "Font Lock Faces group" font-lock-faces) :group languages custom-declare-variable asm-comment-char funcall function #[0 "\300\207" [59] 1 ""] "The `comment-start' character assumed by Asm mode." :type character] 8)
#@38 Syntax table used while in Asm mode.
(defvar asm-mode-syntax-table (byte-code "\300 \301\302\303#\210\301\304\305#\210\301\306\307#\210\207" [make-syntax-table modify-syntax-entry 10 "> b" 47 ". 124b" 42 ". 23"] 5) (#$ . 485))
#@38 Abbrev table used while in Asm mode.
(defvar asm-mode-abbrev-table nil (#$ . 721))
(define-abbrev-table 'asm-mode-abbrev-table nil)
#@22 Keymap for Asm mode.
(defvar asm-mode-map (byte-code "\300 \301\302\303#\210\301\304\305#\210\207" [make-sparse-keymap define-key ":" asm-colon ";" comment-region] 5) (#$ . 859))
#@20 Menu for Asm mode.
(defvar asm-mode-menu nil (#$ . 1047))
(easy-menu-do-define 'asm-mode-menu asm-mode-map "Menu for Asm mode." '("Asm" ["Insert Colon" asm-colon :help "Insert a colon; if it follows a label, delete the label's indentation"] ["Insert Newline and Indent" newline-and-indent :help "Insert a newline, then indent according to major mode"] ["Comment Region" comment-region :help "Comment or uncomment each line in the region"]))
#@56 Additional expressions to highlight in Assembler mode.
(defconst asm-font-lock-keywords (append '(("^\\(\\(\\sw\\|\\s_\\)+\\)\\>:?[ ]*\\(\\sw+\\(\\.\\sw+\\)*\\)?" (1 font-lock-function-name-face) (3 font-lock-keyword-face nil t)) ("^\\(\\.\\(\\sw\\|\\s_\\)+\\)\\>:" 1 font-lock-function-name-face) ("^\\((\\sw+)\\)?\\s +\\(\\(\\.?\\sw\\|\\s_\\)+\\(\\.\\sw+\\)*\\)" 2 font-lock-keyword-face) ("^\\(\\.\\(\\sw\\|\\s_\\)+\\)\\>[^:]?" 1 font-lock-keyword-face) ("%\\sw+" . font-lock-variable-name-face)) cpp-font-lock-keywords) (#$ . 1494))
(defvar asm-mode-hook nil)
(byte-code "\300\301N\204\f \302\300\301\303#\210\304\305!\204 \302\305\306\307#\210\300\207" [asm-mode-hook variable-documentation put "Hook run after entering Assembler mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp asm-mode-map definition-name asm-mode] 4)
(defvar asm-mode-map (make-sparse-keymap))
(byte-code "\301\302N\204 \303\301\302\304\305!#\210\306\307!\204 \303\307\310\311#\210\312\313 !\210\307\302N\204- \303\307\302\304\314!#\210\306\300!\204B \303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P \303\300\302\304\320!#\210\303\311\321\322#\207" [asm-mode-abbrev-table asm-mode-map variable-documentation put purecopy "Keymap for `asm-mode'." boundp asm-mode-syntax-table definition-name asm-mode (lambda (#1=#:def-tmp-var) (defvar asm-mode-syntax-table #1#)) make-syntax-table "Syntax table for `asm-mode'." (lambda (#1#) (defvar asm-mode-abbrev-table #1#)) define-abbrev-table nil "Abbrev table for `asm-mode'." derived-mode-parent prog-mode] 5)
#@682 Major mode for editing typical assembler code.
Features a private abbrev table and the following bindings:
\[asm-colon] outdent a preceding label, tab to next tab stop.
\[tab-to-tab-stop] tab to next tab stop.
\[newline-and-indent] newline, then tab to next tab stop.
\[asm-comment] smart placement of assembler comments.
The character used for making comments is set by the variable
`asm-comment-char' (which defaults to `?\;').
Alternatively, you may set this variable in `asm-mode-set-comment-hook',
which is called near the beginning of mode initialization.
Turning on Asm mode runs the hook `asm-mode-hook' at the end of initialization.
Special commands:
\{asm-mode-map}
(defalias 'asm-mode #[0 "\306\300!\210\307\310 \210\311\312\310\313N\203 \314\311\313\310\313N#\210\315!\204'