annotate lisp/progmodes/mixal-mode.el @ 87898:62670a935506

*** empty log message ***
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 22 Jan 2008 10:14:18 +0000
parents 107ccd98fa12
children 606f2d163a64 52b7a8c22af5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1 ;;; mixal-mode.el --- Major mode for the mix asm language.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
2
79717
a1342e6e097a Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78234
diff changeset
3 ;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
75347
e3694f1cb928 Add 2007 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 68773
diff changeset
4 ;; Free Software Foundation, Inc.
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
5
66026
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
6 ;; Author: Pieter E.J. Pareit <pieter.pareit@gmail.com>
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
7 ;; Maintainer: Pieter E.J. Pareit <pieter.pareit@gmail.com>
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
8 ;; Created: 09 Nov 2002
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
9 ;; Version: 0.1
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
10 ;; Keywords: Knuth mix mixal asm mixvm "The Art Of Computer Programming"
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
11
78234
c1ec1c8a8d2e Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 77977
diff changeset
12 ;; This file is part of GNU Emacs.
c1ec1c8a8d2e Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 77977
diff changeset
13
c1ec1c8a8d2e Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 77977
diff changeset
14 ;; GNU Emacs is free software; you can redistribute it and/or modify
c1ec1c8a8d2e Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 77977
diff changeset
15 ;; it under the terms of the GNU General Public License as published by
c1ec1c8a8d2e Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 77977
diff changeset
16 ;; the Free Software Foundation; either version 3, or (at your option)
c1ec1c8a8d2e Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 77977
diff changeset
17 ;; any later version.
c1ec1c8a8d2e Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 77977
diff changeset
18
c1ec1c8a8d2e Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 77977
diff changeset
19 ;; GNU Emacs is distributed in the hope that it will be useful,
c1ec1c8a8d2e Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 77977
diff changeset
20 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
c1ec1c8a8d2e Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 77977
diff changeset
21 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c1ec1c8a8d2e Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 77977
diff changeset
22 ;; GNU General Public License for more details.
c1ec1c8a8d2e Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 77977
diff changeset
23
c1ec1c8a8d2e Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 77977
diff changeset
24 ;; You should have received a copy of the GNU General Public License
c1ec1c8a8d2e Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 77977
diff changeset
25 ;; along with GNU Emacs; see the file COPYING. If not, write to the
c1ec1c8a8d2e Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 77977
diff changeset
26 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
c1ec1c8a8d2e Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 77977
diff changeset
27 ;; Boston, MA 02110-1301, USA.
c1ec1c8a8d2e Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 77977
diff changeset
28
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
29 ;;; Commentary:
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
30 ;; Major mode for the mix asm language.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
31 ;; The mix asm language is described in "The Art Of Computer Programming".
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
32 ;;
66026
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
33 ;; For optimal use, also use GNU MDK. Compiling needs mixasm, running
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
34 ;; and debugging needs mixvm and mixvm.el from GNU MDK. You can get
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
35 ;; GNU MDK from `https://savannah.gnu.org/projects/mdk/' and
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
36 ;; `ftp://ftp.gnu.org/pub/gnu/mdk'.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
37 ;;
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
38 ;; To use this mode, place the following in your .emacs file:
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
39 ;; `(load-file "/PATH-TO-FILE/mixal-mode.el")'.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
40 ;; When you load a file with the extension .mixal the mode will be started
66026
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
41 ;; automatic. If you want to start the mode manual, use `M-x mixal-mode'.
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
42 ;; Font locking will work, the behavior of tabs is the same as Emacs's
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
43 ;; default behavior. You can compile a source file with `C-c c' you can
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
44 ;; run a compiled file with `C-c r' or run it in debug mode with `C-c d'.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
45 ;; You can get more information about a particular operation code by using
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
46 ;; mixal-describe-operation-code or `C-h o'.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
47 ;;
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
48 ;; Have fun.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
49
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
50 ;;; History:
66026
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
51 ;; Version 0.3:
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
52 ;; 12/10/05: Stefan Monnier <monnier@iro.umontreal.ca>
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
53 ;; Use font-lock-syntactic-keywords to detect/mark comments.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
54 ;; Use [^ \t\n]+ to match the operand part of a line.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
55 ;; Drop mixal-operation-codes.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
56 ;; Build the mixal-operation-codes-alist immediately.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
57 ;; Use `interactive' in mixal-describe-operation-code.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
58 ;; Remove useless ".*$" at the end of some regexps.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
59 ;; Fix the definition of comment-start-skip.
66026
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
60 ;; 08/10/05: sync mdk and emacs cvs
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
61 ;; from emacs: compile-command and require-final-newline
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
62 ;; from mdk: see version 0.2
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
63 ;; correct my email address
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
64 ;; Version 0.2:
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
65 ;; 06/04/05: mixasm no longer needs -g option
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
66 ;; fontlocking of comments works in all? cases now
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
67 ;; added some more mixal-operation-codes
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
68 ;; Version 0.1:
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
69 ;; Version 0.1.1:
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
70 ;; 22/11/02: bugfix in fontlocking, needed to add a '-' to the regex.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
71 ;; 19/11/02: completed implementing mixal-describe-operation-code.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
72 ;; 13/11/02: implemented compile, mixal-run and mixal-debug.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
73 ;; 10/11/02: implemented font-locking and syntax table.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
74 ;; 09/11/02: started mixal-mode.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
75
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
76 ;;; Code:
65236
4dd2a1379398 (compile-command): Add defvar.
Juanma Barranquero <lekktu@gmail.com>
parents: 64699
diff changeset
77 (defvar compile-command)
4dd2a1379398 (compile-command): Add defvar.
Juanma Barranquero <lekktu@gmail.com>
parents: 64699
diff changeset
78
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
79 ;;; Key map
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
80 (defvar mixal-mode-map
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
81 (let ((map (make-sparse-keymap)))
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
82 (define-key map "\C-cc" 'compile)
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
83 (define-key map "\C-cr" 'mixal-run)
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
84 (define-key map "\C-cd" 'mixal-debug)
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
85 (define-key map "\C-ho" 'mixal-describe-operation-code)
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
86 map)
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
87 "Keymap for `mixal-mode'.")
66026
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
88 ;; (makunbound 'mixal-mode-map)
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
89
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
90 ;;; Syntax table
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
91 (defvar mixal-mode-syntax-table
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
92 (let ((st (make-syntax-table)))
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
93 ;; We need to do a bit more to make fontlocking for comments work.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
94 ;; See mixal-font-lock-syntactic-keywords.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
95 ;; (modify-syntax-entry ?* "<" st)
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
96 (modify-syntax-entry ?\n ">" st)
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
97 st)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
98 "Syntax table for `mixal-mode'.")
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
99
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
100 (defvar mixal-font-lock-label-face 'font-lock-variable-name-face
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
101 "Face name to use for label names.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
102 Default value is that of `font-lock-variable-name-face', but you can modify
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
103 its value.")
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
104
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
105 (defvar mixal-font-lock-operation-code-face 'font-lock-keyword-face
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
106 "Face name to use for operation code names.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
107 Default value is that of `font-lock-keyword-face', but you can modify its
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
108 value.")
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
109
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
110 (defvar mixal-font-lock-assembly-pseudoinstruction-face 'font-lock-builtin-face
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
111 "Face name to use for assembly pseudoinstruction names.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
112 Default value is that of `font-lock-builtin-face', but you can modify its
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
113 value.")
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
114
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
115 (defvar mixal-assembly-pseudoinstructions
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
116 '("ORIG" "EQU" "CON" "ALF" "END")
66026
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
117 "List of possible assembly pseudoinstructions.")
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
118
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
119 ;;;; Compilation
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
120 ;; Output from mixasm is compatible with default behavior of emacs,
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
121 ;; I just added a key (C-cc) and modified the make-command.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
122
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
123 ;;;; Indentation
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
124 ;; Tabs works well by default.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
125
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
126 ;;;; Describe
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
127 (defvar mixal-operation-codes-alist
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
128 ;; FIXME: the codes FADD, FSUB, FMUL, FDIV, JRAD, and FCMP were in
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
129 ;; mixal-operation-codes but not here. They should probably be added here.
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
130 ;;
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
131 ;; We used to define this with a backquote and subexps like ,(+ 8 3) for
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
132 ;; better clarity, but the resulting code was too big and caused the
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
133 ;; byte-compiler to eat up all the stack space. Even using
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
134 ;; `eval-when-compile' didn't help because the byte-compiler insists on
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
135 ;; compiling the code before evaluating it.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
136 '((LDA loading "load A" 8 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
137 "Put in rA the contents of cell no. M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
138 Uses a + when there is no sign in subfield. Subfield is left padded with
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
139 zeros to make a word."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
140 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
141
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
142 (LDX loading "load X" 15 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
143 "Put in rX the contents of cell no. M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
144 Uses a + when there is no sign in subfield. Subfield is left padded with
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
145 zeros to make a word."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
146 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
147
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
148 (LD1 loading "load I1" 9 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
149 "Put in rI1 the contents of cell no. M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
150 Uses a + when there is no sign in subfield. Subfield is left padded with
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
151 zeros to make a word. Index registers only have 2 bytes and a sign, Trying
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
152 to set anything more that that will result in undefined behavior."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
153 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
154
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
155 (LD2 loading "load I2" 10 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
156 "Put in rI2 the contents of cell no. M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
157 Uses a + when there is no sign in subfield. Subfield is left padded with
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
158 zeros to make a word. Index registers only have 2 bytes and a sign, Trying
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
159 to set anything more that that will result in undefined behavior."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
160 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
161
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
162 (LD3 loading "load I3" 11 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
163 "Put in rI3 the contents of cell no. M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
164 Uses a + when there is no sign in subfield. Subfield is left padded with
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
165 zeros to make a word. Index registers only have 2 bytes and a sign, Trying
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
166 to set anything more that that will result in undefined behavior."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
167 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
168
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
169 (LD4 loading "load I4" 12 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
170 "Put in rI4 the contents of cell no. M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
171 Uses a + when there is no sign in subfield. Subfield is left padded with
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
172 zeros to make a word. Index registers only have 2 bytes and a sign, Trying
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
173 to set anything more that that will result in undefined behavior."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
174 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
175
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
176 (LD5 loading "load I5" 13 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
177 "Put in rI5 the contents of cell no. M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
178 Uses a + when there is no sign in subfield. Subfield is left padded with
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
179 zeros to make a word. Index registers only have 2 bytes and a sign, Trying
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
180 to set anything more that that will result in undefined behavior."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
181 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
182
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
183 (LD6 loading "load I6" 14 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
184 "Put in rI6 the contents of cell no. M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
185 Uses a + when there is no sign in subfield. Subfield is left padded with
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
186 zeros to make a word. Index registers only have 2 bytes and a sign, Trying
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
187 to set anything more that that will result in undefined behavior."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
188 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
189
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
190 (LDAN loading "load A negative" 16 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
191 "Put in rA the contents of cell no. M, with opposite sign.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
192 Uses a + when there is no sign in subfield, otherwise use the opposite sign.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
193 Subfield is left padded with zeros to make a word."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
194 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
195
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
196 (LDXN loading "load X negative" 23 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
197 "Put in rX the contents of cell no. M, with opposite sign.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
198 Uses a + when there is no sign in subfield, otherwise use the opposite sign.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
199 Subfield is left padded with zeros to make a word."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
200 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
201
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
202 (LD1N loading "load I1 negative" 17 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
203 "Put in rI1 the contents of cell no. M, with opposite sign.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
204 Uses a + when there is no sign in subfield, otherwise use the opposite sign.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
205 Subfield is left padded with zeros to make a word. Index registers only
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
206 have 2 bytes and a sign, Trying to set anything more that that will result
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
207 in undefined behavior."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
208 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
209
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
210 (LD2N loading "load I2 negative" 18 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
211 "Put in rI2 the contents of cell no. M, with opposite sign.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
212 Uses a + when there is no sign in subfield, otherwise use the opposite sign.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
213 Subfield is left padded with zeros to make a word. Index registers only
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
214 have 2 bytes and a sign, Trying to set anything more that that will result
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
215 in undefined behavior."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
216 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
217
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
218 (LD3N loading "load I3 negative" 19 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
219 "Put in rI3 the contents of cell no. M, with opposite sign.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
220 Uses a + when there is no sign in subfield, otherwise use the opposite sign.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
221 Subfield is left padded with zeros to make a word. Index registers only
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
222 have 2 bytes and a sign, Trying to set anything more that that will result
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
223 in undefined behavior."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
224 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
225
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
226 (LD4N loading "load I4 negative" 20 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
227 "Put in rI4 the contents of cell no. M, with opposite sign.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
228 Uses a + when there is no sign in subfield, otherwise use the opposite sign.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
229 Subfield is left padded with zeros to make a word. Index registers only
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
230 have 2 bytes and a sign, Trying to set anything more that that will result
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
231 in undefined behavior."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
232 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
233
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
234 (LD5N loading "load I5 negative" 21 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
235 "Put in rI5 the contents of cell no. M, with opposite sign.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
236 Uses a + when there is no sign in subfield, otherwise use the opposite sign.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
237 Subfield is left padded with zeros to make a word. Index registers only
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
238 have 2 bytes and a sign, Trying to set anything more that that will result
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
239 in undefined behavior."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
240 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
241
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
242 (LD6N loading "load I6 negative" 22 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
243 "Put in rI6 the contents of cell no. M, with opposite sign.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
244 Uses a + when there is no sign in subfield, otherwise use the opposite sign.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
245 Subfield is left padded with zeros to make a word. Index registers only
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
246 have 2 bytes and a sign, Trying to set anything more that that will result
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
247 in undefined behavior."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
248 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
249
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
250 (STA storing "store A" 24 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
251 "Store in cell Nr. M the contents of rA.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
252 The modification of the operation code represents the subfield of the
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
253 memory cell that is to be overwritten with bytes from a register. These
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
254 bytes are taken beginning by the rightmost side of the register. The
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
255 sign of the memory cell is not changed, unless it is part of the subfield."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
256 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
257
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
258 (STX storing "store X" 31 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
259 "Store in cell Nr. M the contents of rX.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
260 The modification of the operation code represents the subfield of the
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
261 memory cell that is to be overwritten with bytes from a register. These
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
262 bytes are taken beginning by the rightmost side of the register. The
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
263 sign of the memory cell is not changed, unless it is part of the subfield."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
264 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
265
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
266 (ST1 storing "store I1" 25 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
267 "Store in cell Nr. M the contents of rI1.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
268 The modification of the operation code represents the subfield of the
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
269 memory cell that is to be overwritten with bytes from a register. These
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
270 bytes are taken beginning by the rightmost side of the register. The
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
271 sign of the memory cell is not changed, unless it is part of the subfield.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
272 Because index registers only have 2 bytes and a sign, the rest of the bytes
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
273 are assumed to be 0."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
274 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
275
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
276 (ST2 storing "store I2" 26 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
277 "Store in cell Nr. M the contents of rI2.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
278 The modification of the operation code represents the subfield of the
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
279 memory cell that is to be overwritten with bytes from a register. These
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
280 bytes are taken beginning by the rightmost side of the register. The
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
281 sign of the memory cell is not changed, unless it is part of the subfield.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
282 Because index registers only have 2 bytes and a sign, the rest of the bytes
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
283 are assumed to be 0."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
284 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
285
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
286 (ST3 storing "store I3" 27 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
287 "Store in cell Nr. M the contents of rI3.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
288 The modification of the operation code represents the subfield of the
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
289 memory cell that is to be overwritten with bytes from a register. These
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
290 bytes are taken beginning by the rightmost side of the register. The
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
291 sign of the memory cell is not changed, unless it is part of the subfield.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
292 Because index registers only have 2 bytes and a sign, the rest of the bytes
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
293 are assumed to be 0."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
294 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
295
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
296 (ST4 storing "store I4" 28 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
297 "Store in cell Nr. M the contents of rI4.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
298 The modification of the operation code represents the subfield of the
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
299 memory cell that is to be overwritten with bytes from a register. These
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
300 bytes are taken beginning by the rightmost side of the register. The
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
301 sign of the memory cell is not changed, unless it is part of the subfield.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
302 Because index registers only have 2 bytes and a sign, the rest of the bytes
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
303 are assumed to be 0."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
304 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
305
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
306 (ST5 storing "store I5" 29 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
307 "Store in cell Nr. M the contents of rI5.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
308 The modification of the operation code represents the subfield of the
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
309 memory cell that is to be overwritten with bytes from a register. These
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
310 bytes are taken beginning by the rightmost side of the register. The
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
311 sign of the memory cell is not changed, unless it is part of the subfield.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
312 Because index registers only have 2 bytes and a sign, the rest of the bytes
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
313 are assumed to be 0."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
314 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
315
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
316 (ST6 storing "store I6" 30 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
317 "Store in cell Nr. M the contents of rI6.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
318 The modification of the operation code represents the subfield of the
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
319 memory cell that is to be overwritten with bytes from a register. These
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
320 bytes are taken beginning by the rightmost side of the register. The
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
321 sign of the memory cell is not changed, unless it is part of the subfield.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
322 Because index registers only have 2 bytes and a sign, the rest of the bytes
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
323 are assumed to be 0."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
324 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
325
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
326 (STJ storing "store J" 32 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
327 "Store in cell Nr. M the contents of rJ.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
328 The modification of the operation code represents the subfield of the
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
329 memory cell that is to be overwritten with bytes from a register. These
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
330 bytes are taken beginning by the rightmost side of the register. The sign
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
331 of rJ is always +, sign of the memory cell is not changed, unless it is
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
332 part of the subfield. The default field for STJ is (0:2)."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
333 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
334
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
335 (STZ storing "store zero" 33 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
336 "Store in cell Nr. M '+ 0'.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
337 The modification of the operation code represents the subfield of the
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
338 memory cell that is to be overwritten with zeros."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
339 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
340
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
341 (ADD arithmetic "add" 1 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
342 "Add to A the contents of cell Nr. M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
343 Subfield is padded with zero to make a word.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
344 If the result is to large, the operation result modulo 1,073,741,823 (the
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
345 maximum value storable in a MIX word) is stored in `rA', and the overflow
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
346 toggle is set to TRUE."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
347 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
348
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
349 (SUB arithmetic "subtract" 2 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
350 "Subtract to A the contents of cell Nr. M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
351 Subfield is padded with zero to make a word.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
352 If the result is to large, the operation result modulo 1,073,741,823 (the
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
353 maximum value storable in a MIX word) is stored in `rA', and the overflow
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
354 toggle is set to TRUE."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
355 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
356
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
357 (MUL arithmetic "multiply" 3 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
358 "Multiplies the contents of cell Nr. M with A, result is 10 bytes and stored in rA and rX.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
359 The sign is + if the sign of rA and cell M where the same, otherwise, it is -"
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
360 10)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
361
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
362 (DIV arithmetic "divide" 4 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
363 "Both rA and rX are taken together and divided by cell Nr. M, quotient is placed in rA, remainder in rX.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
364 The sign is taken from rA, and after the divide the sign of rA is set to + when
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
365 both the sign of rA and M where the same. Divide by zero and overflow of rA
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
366 result in undefined behavior."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
367 12)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
368
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
369 (ENTA address-transfer "enter A" 48
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
370 "Literal value is stored in rA.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
371 Indexed, stores value of index in rA."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
372 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
373
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
374 (ENTX address-transfer "enter X" 55
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
375 "Literal value is stored in rX.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
376 Indexed, stores value of index in rX."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
377 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
378
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
379 (ENT1 address-transfer "Enter rI1" 49
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
380 "Literal value is stored in rI1.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
381 Indexed, stores value of index in rI1."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
382 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
383
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
384 (ENT2 address-transfer "Enter rI2" 50
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
385 "Literal value is stored in rI2.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
386 Indexed, stores value of index in rI2."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
387 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
388
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
389 (ENT3 address-transfer "Enter rI3" 51
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
390 "Literal value is stored in rI3.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
391 Indexed, stores value of index in rI3."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
392 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
393
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
394 (ENT4 address-transfer "Enter rI4" 52
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
395 "Literal value is stored in rI4.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
396 Indexed, stores value of index in rI4."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
397 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
398
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
399 (ENT5 address-transfer "Enter rI5" 53
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
400 "Literal value is stored in rI5.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
401 Indexed, stores value of index in rI5."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
402 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
403
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
404 (ENT6 address-transfer "Enter rI6" 54
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
405 "Literal value is stored in rI6.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
406 Indexed, stores value of index in rI6."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
407 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
408
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
409 (ENNA address-transfer "enter negative A" 48
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
410 "Literal value is stored in rA with opposite sign.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
411 Indexed, stores value of index in rA with opposite sign."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
412 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
413
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
414 (ENNX address-transfer "enter negative X" 55
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
415 "Literal value is stored in rX with opposite sign.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
416 Indexed, stores value of index in rX with opposite sign."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
417 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
418
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
419 (ENN1 address-transfer "Enter negative rI1" 49
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
420 "Literal value is stored in rI1 with opposite sign.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
421 Indexed, stores value of index in rI1 with opposite sign."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
422 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
423
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
424 (ENN2 address-transfer "Enter negative rI2" 50
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
425 "Literal value is stored in rI2 with opposite sign.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
426 Indexed, stores value of index in rI2 with opposite sign."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
427 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
428
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
429 (ENN3 address-transfer "Enter negative rI3" 51
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
430 "Literal value is stored in rI3 with opposite sign.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
431 Indexed, stores value of index in rI3 with opposite sign."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
432 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
433
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
434 (ENN4 address-transfer "Enter negative rI4" 52
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
435 "Literal value is stored in rI4 with opposite sign.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
436 Indexed, stores value of index in rI4 with opposite sign."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
437 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
438
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
439 (ENN5 address-transfer "Enter negative rI5" 53
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
440 "Literal value is stored in rI5 with opposite sign.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
441 Indexed, stores value of index in rI5 with opposite sign."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
442 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
443
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
444 (ENN6 address-transfer "Enter negative rI6" 54
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
445 "Literal value is stored in rI6 with opposite sign.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
446 Indexed, stores value of index in rI6 with opposite sign."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
447 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
448
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
449 (INCA address-transfer "increase A" 48
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
450 "Increase register A with the literal value of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
451 On overflow the overflow toggle is set."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
452 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
453
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
454 (INCX address-transfer "increase X" 55
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
455 "Increase register X with the literal value of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
456 On overflow the overflow toggle is set."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
457 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
458
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
459 (INC1 address-transfer "increase I1" 49
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
460 "Increase register I1 with the literal value of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
461 The result is undefined when the result does not fit in
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
462 2 bytes."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
463 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
464
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
465 (INC2 address-transfer "increase I2" 50
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
466 "Increase register I2 with the literal value of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
467 The result is undefined when the result does not fit in
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
468 2 bytes."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
469 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
470
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
471 (INC3 address-transfer "increase I3" 51
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
472 "Increase register I3 with the literal value of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
473 The result is undefined when the result does not fit in
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
474 2 bytes."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
475 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
476
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
477 (INC4 address-transfer "increase I4" 52
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
478 "Increase register I4 with the literal value of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
479 The result is undefined when the result does not fit in
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
480 2 bytes."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
481 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
482
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
483 (INC5 address-transfer "increase I5" 53
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
484 "Increase register I5 with the literal value of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
485 The result is undefined when the result does not fit in
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
486 2 bytes."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
487 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
488
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
489 (INC6 address-transfer "increase I6" 54
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
490 "Increase register I6 with the literal value of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
491 The result is undefined when the result does not fit in
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
492 2 bytes."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
493 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
494
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
495 (DECA address-transfer "decrease A" 48
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
496 "Decrease register A with the literal value of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
497 On overflow the overflow toggle is set."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
498 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
499
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
500 (DECX address-transfer "decrease X" 55
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
501 "Decrease register X with the literal value of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
502 On overflow the overflow toggle is set."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
503 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
504
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
505 (DEC1 address-transfer "decrease I1" 49
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
506 "Decrease register I1 with the literal value of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
507 The result is undefined when the result does not fit in
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
508 2 bytes."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
509 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
510
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
511 (DEC2 address-transfer "decrease I2" 50
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
512 "Decrease register I2 with the literal value of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
513 The result is undefined when the result does not fit in
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
514 2 bytes."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
515 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
516
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
517 (DEC3 address-transfer "decrease I3" 51
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
518 "Decrease register I3 with the literal value of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
519 The result is undefined when the result does not fit in
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
520 2 bytes."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
521 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
522
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
523 (DEC4 address-transfer "decrease I4" 52
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
524 "Decrease register I4 with the literal value of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
525 The result is undefined when the result does not fit in
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
526 2 bytes."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
527 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
528
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
529 (DEC5 address-transfer "decrease I5" 53
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
530 "Decrease register I5 with the literal value of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
531 The result is undefined when the result does not fit in
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
532 2 bytes."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
533 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
534
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
535 (DEC6 address-transfer "decrease I6" 54
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
536 "Decrease register I6 with the literal value of M.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
537 The result is undefined when the result does not fit in
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
538 2 bytes."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
539 1)
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
540
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
541 (CMPA comparison "compare A" 56 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
542 "Compare contents of A with contents of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
543 The field specifier works on both fields. The comparison indicator
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
544 is set to LESS, EQUAL or GREATER depending on the outcome."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
545 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
546
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
547 (CMPX comparison "compare X" 63 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
548 "Compare contents of rX with contents of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
549 The field specifier works on both fields. The comparison indicator
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
550 is set to LESS, EQUAL or GREATER depending on the outcome."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
551 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
552
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
553 (CMP1 comparison "compare I1" 57 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
554 "Compare contents of rI1 with contents of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
555 The field specifier works on both fields. The comparison indicator
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
556 is set to LESS, EQUAL or GREATER depending on the outcome. Bit 1,2 and 3
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
557 have a value of 0."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
558 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
559
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
560 (CMP2 comparison "compare I2" 58 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
561 "Compare contents of rI2 with contents of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
562 The field specifier works on both fields. The comparison indicator
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
563 is set to LESS, EQUAL or GREATER depending on the outcome. Bit 1,2 and 3
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
564 have a value of 0."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
565 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
566
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
567 (CMP3 comparison "compare I3" 59 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
568 "Compare contents of rI3 with contents of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
569 The field specifier works on both fields. The comparison indicator
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
570 is set to LESS, EQUAL or GREATER depending on the outcome. Bit 1,2 and 3
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
571 have a value of 0."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
572 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
573
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
574 (CMP4 comparison "compare I4" 60 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
575 "Compare contents of rI4 with contents of M.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
576 The field specifier works on both fields. The comparison indicator
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
577 is set to LESS, EQUAL or GREATER depending on the outcome. Bit 1,2 and 3
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
578 have a value of 0."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
579 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
580
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
581 (CMP5 comparison "compare I5" 61 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
582 "Compare contents of rI5 with contents of M.
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
583 The field specifier works on both fields. The comparison indicator
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
584 is set to LESS, EQUAL or GREATER depending on the outcome. Bit 1,2 and 3
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
585 have a value of 0."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
586 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
587
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
588 (CMP6 comparison "compare I6" 62 field
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
589 "Compare contents of rI6 with contents of M.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
590 The field specifier works on both fields. The comparison indicator
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
591 is set to LESS, EQUAL or GREATER depending on the outcome. Bit 1,2 and 3
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
592 have a value of 0."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
593 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
594
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
595 (JMP jump "jump" 39
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
596 "Unconditional jump.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
597 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
598 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
599 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
600
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
601 (JSJ jump "jump, save J" 39
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
602 "Unconditional jump, but rJ is not modified."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
603 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
604
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
605 (JOV jump "jump on overflow" 39
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
606 "Jump if OV is set (and turn it off).
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
607 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
608 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
609 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
610
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
611 (JNOV jump "Jump on no overflow" 39
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
612 "Jump if OV is not set (and turn it off).
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
613 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
614 been executed when there was no jump."
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
615 1)
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
616
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
617 (JL jump "Jump on less" 39
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
618 "Jump if '[CM] = L'.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
619 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
620 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
621 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
622
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
623 (JE jump "Jump on equal" 39
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
624 "Jump if '[CM] = E'.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
625 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
626 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
627 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
628
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
629 (JG jump "Jump on greater" 39
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
630 "Jump if '[CM] = G'.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
631 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
632 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
633 1)
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
634
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
635 (JGE jump "Jump on not less" 39
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
636 "Jump if '[CM]' does not equal 'L'.
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
637 Register J is set to the value of the next instruction that would have
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
638 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
639 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
640
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
641 (JNE jump "Jump on not equal" 39
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
642 "Jump if '[CM]' does not equal 'E'.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
643 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
644 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
645 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
646
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
647 (JLE jump "Jump on not greater" 39
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
648 "Jump if '[CM]' does not equal 'G'.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
649 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
650 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
651 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
652
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
653 (JAN jump "jump A negative" 40
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
654 "Jump if the content of rA is negative.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
655 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
656 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
657 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
658
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
659 (JAZ jump "jump A zero" 40
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
660 "Jump if the content of rA is zero.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
661 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
662 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
663 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
664
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
665 (JAP jump "jump A positive" 40
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
666 "Jump if the content of rA is positive.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
667 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
668 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
669 1)
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
670
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
671 (JANN jump "jump A non-negative" 40
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
672 "Jump if the content of rA is non-negative.
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
673 Register J is set to the value of the next instruction that would have
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
674 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
675 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
676
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
677 (JANZ jump "jump A non-zero" 40
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
678 "Jump if the content of rA is non-zero.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
679 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
680 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
681 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
682
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
683 (JANP jump "jump A non-positive" 40
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
684 "Jump if the content of rA is non-positive.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
685 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
686 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
687 1)
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
688
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
689 (JXN jump "jump X negative" 47
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
690 "Jump if the content of rX is negative.
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
691 Register J is set to the value of the next instruction that would have
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
692 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
693 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
694
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
695 (JXZ jump "jump X zero" 47
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
696 "Jump if the content of rX is zero.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
697 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
698 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
699 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
700
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
701 (JXP jump "jump X positive" 47
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
702 "Jump if the content of rX is positive.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
703 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
704 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
705 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
706
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
707 (JXNN jump "jump X non-negative" 47
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
708 "Jump if the content of rX is non-negative.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
709 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
710 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
711 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
712
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
713 (JXNZ jump "jump X non-zero" 47
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
714 "Jump if the content of rX is non-zero.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
715 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
716 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
717 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
718
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
719 (JXNP jump "jump X non-positive" 47
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
720 "Jump if the content of rX is non-positive.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
721 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
722 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
723 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
724
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
725 (J1N jump "jump I1 negative" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
726 "Jump if the content of rI1 is negative.
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
727 Register J is set to the value of the next instruction that would have
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
728 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
729 1)
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
730
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
731 (J1Z jump "jump I1 zero" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
732 "Jump if the content of rI1 is zero.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
733 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
734 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
735 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
736
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
737 (J1P jump "jump I1 positive" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
738 "Jump if the content of rI1 is positive.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
739 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
740 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
741 1)
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
742
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
743 (J1NN jump "jump I1 non-negative" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
744 "Jump if the content of rI1 is non-negative.
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
745 Register J is set to the value of the next instruction that would have
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
746 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
747 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
748
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
749 (J1NZ jump "jump I1 non-zero" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
750 "Jump if the content of rI1 is non-zero.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
751 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
752 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
753 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
754
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
755 (J1NP jump "jump I1 non-positive" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
756 "Jump if the content of rI1 is non-positive.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
757 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
758 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
759 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
760
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
761 (J2N jump "jump I2 negative" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
762 "Jump if the content of rI2 is negative.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
763 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
764 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
765 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
766
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
767 (J2Z jump "jump I2 zero" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
768 "Jump if the content of rI2 is zero.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
769 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
770 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
771 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
772
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
773 (J2P jump "jump I2 positive" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
774 "Jump if the content of rI2 is positive.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
775 Register J is set to the value of the next instruction that would have
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
776 been executed when there was no jump."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
777 1)
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
778
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
779 (J2NN jump "jump I2 non-negative" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
780 "Jump if the content of rI2 is non-negative.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
781 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
782 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
783 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
784
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
785 (J2NZ jump "jump I2 non-zero" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
786 "Jump if the content of rI2 is non-zero.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
787 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
788 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
789 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
790
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
791 (J2NP jump "jump I2 non-positive" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
792 "Jump if the content of rI2 is non-positive.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
793 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
794 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
795 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
796
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
797 (J3N jump "jump I3 negative" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
798 "Jump if the content of rI3 is negative.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
799 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
800 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
801 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
802
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
803 (J3Z jump "jump I3 zero" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
804 "Jump if the content of rI3 is zero.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
805 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
806 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
807 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
808
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
809 (J3P jump "jump I3 positive" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
810 "Jump if the content of rI3 is positive.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
811 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
812 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
813 1)
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
814
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
815 (J3NN jump "jump I3 non-negative" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
816 "Jump if the content of rI3 is non-negative.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
817 Register J is set to the value of the next instruction that would have
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
818 been executed when there was no jump."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
819 1)
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
820
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
821 (J3NZ jump "jump I3 non-zero" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
822 "Jump if the content of rI3 is non-zero.
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
823 Register J is set to the value of the next instruction that would have
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
824 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
825 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
826
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
827 (J3NP jump "jump I3 non-positive" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
828 "Jump if the content of rI3 is non-positive.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
829 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
830 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
831 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
832
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
833 (J4N jump "jump I4 negative" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
834 "Jump if the content of rI4 is negative.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
835 Register J is set to the value of the next instruction that would have
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
836 been executed when there was no jump."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
837 1)
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
838
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
839 (J4Z jump "jump I4 zero" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
840 "Jump if the content of rI4 is zero.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
841 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
842 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
843 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
844
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
845 (J4P jump "jump I4 positive" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
846 "Jump if the content of rI4 is positive.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
847 Register J is set to the value of the next instruction that would have
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
848 been executed when there was no jump."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
849 1)
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
850
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
851 (J4NN jump "jump I4 non-negative" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
852 "Jump if the content of rI4 is non-negative.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
853 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
854 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
855 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
856
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
857 (J4NZ jump "jump I4 non-zero" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
858 "Jump if the content of rI4 is non-zero.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
859 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
860 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
861 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
862
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
863 (J4NP jump "jump I4 non-positive" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
864 "Jump if the content of rI4 is non-positive.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
865 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
866 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
867 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
868
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
869 (J5N jump "jump I5 negative" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
870 "Jump if the content of rI5 is negative.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
871 Register J is set to the value of the next instruction that would have
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
872 been executed when there was no jump."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
873 1)
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
874
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
875 (J5Z jump "jump I5 zero" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
876 "Jump if the content of rI5 is zero.
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
877 Register J is set to the value of the next instruction that would have
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
878 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
879 1)
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
880
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
881 (J5P jump "jump I5 positive" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
882 "Jump if the content of rI5 is positive.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
883 Register J is set to the value of the next instruction that would have
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
884 been executed when there was no jump."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
885 1)
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
886
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
887 (J5NN jump "jump I5 non-negative" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
888 "Jump if the content of rI5 is non-negative.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
889 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
890 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
891 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
892
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
893 (J5NZ jump "jump I5 non-zero" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
894 "Jump if the content of rI5 is non-zero.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
895 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
896 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
897 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
898
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
899 (J5NP jump "jump I5 non-positive" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
900 "Jump if the content of rI5 is non-positive.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
901 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
902 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
903 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
904
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
905 (J6N jump "jump I6 negative" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
906 "Jump if the content of rI6 is negative.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
907 Register J is set to the value of the next instruction that would have
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
908 been executed when there was no jump."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
909 1)
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
910
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
911 (J6Z jump "jump I6 zero" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
912 "Jump if the content of rI6 is zero.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
913 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
914 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
915 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
916
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
917 (J6P jump "jump I6 positive" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
918 "Jump if the content of rI6 is positive.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
919 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
920 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
921 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
922
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
923 (J6NN jump "jump I6 non-negative" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
924 "Jump if the content of rI6 is non-negative.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
925 Register J is set to the value of the next instruction that would have
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
926 been executed when there was no jump."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
927 1)
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
928
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
929 (J6NZ jump "jump I6 non-zero" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
930 "Jump if the content of rI6 is non-zero.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
931 Register J is set to the value of the next instruction that would have
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
932 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
933 1)
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
934
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
935 (J6NP jump "jump I6 non-positive" 41
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
936 "Jump if the content of rI6 is non-positive.
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
937 Register J is set to the value of the next instruction that would have
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
938 been executed when there was no jump."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
939 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
940
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
941 (SLA miscellaneous "shift left A" 6
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
942 "Shift to A, M bytes left.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
943 Hero's will be added to the right."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
944 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
945
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
946 (SRA miscellaneous "shift right A" 6
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
947 "Shift to A, M bytes right.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
948 Zeros will be added to the left."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
949 2)
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
950
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
951 (SLAX miscellaneous "shift left AX" 6
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
952 "Shift AX, M bytes left.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
953 Zeros will be added to the right."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
954 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
955
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
956
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
957 (SRAX miscellaneous "shift right AX" 6
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
958 "Shift AX, M bytes right.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
959 Zeros will be added to the left."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
960 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
961
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
962 (SLC miscellaneous "shift left AX circularly" 6
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
963 "Shift AX, M bytes left circularly.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
964 The bytes that fall off to the left will be added to the right."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
965 2)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
966
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
967 (SRC miscellaneous "shift right AX circularly" 6
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
968 "Shift AX, M bytes right circularly.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
969 The bytes that fall off to the right will be added to the left."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
970 2)
66067
aa2acf40c91b (mixal-operation-codes-alist):
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66055
diff changeset
971
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
972 (MOVE miscellaneous "move" 7 number
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
973 "Move MOD words from M to the location stored in rI1."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
974 (+ 1 (* 2 number)))
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
975
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
976 (NOP miscellaneous "no operation" 0 ignored
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
977 "No operation, M and F are not used by the machine."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
978 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
979
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
980 (HLT miscellaneous "halt" 5
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
981 "Halt.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
982 Stop instruction fetching."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
983 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
984
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
985 (IN input-output "input" 36 unit
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
986 "Transfer a block of words from the specified unit to memory.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
987 The transfer starts at address M."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
988 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
989
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
990 (OUT input-output "output" 37 unit
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
991 "Transfer a block of words from memory.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
992 The transfer starts at address M to the specified unit."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
993 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
994
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
995 (IOC input-output "input-output control" 35 unit
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
996 "Perform a control operation.
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
997 The control operation is given by M on the specified unit."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
998 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
999
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
1000 (JRED input-output "jump ready" 38 unit
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
1001 "Jump to M if the specified unit is ready."
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1002 1)
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1003
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
1004 (JBUS input-output "jump busy" 34 unit
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
1005 "Jump to M if the specified unit is busy."
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
1006 1)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1007
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
1008 (NUM conversion "convert to numeric" 5
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
1009 "Convert rAX to its numerical value and store it in rA.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1010 the register rAX is assumed to contain a character representation of
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1011 a number."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
1012 10)
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1013
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
1014 (CHAR conversion "convert to characters" 5
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
1015 "Convert the number stored in rA to a character representation.
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1016 The converted character representation is stored in rAX."
66071
5638269a5e62 (mixal-operation-codes-alist): Use a constant.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66067
diff changeset
1017 10))
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1018
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1019 "Alist that contains all the possible operation codes for mix.
66026
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
1020 Each elt has the form
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
1021 (OP-CODE GROUP FULL-NAME C-BYTE F-BYTE DESCRIPTION EXECUTION-TIME)
77977
8e5ec7106f3d (mixal-operation-codes-alist): Fix typo in docstring.
Juanma Barranquero <lekktu@gmail.com>
parents: 75347
diff changeset
1022 Where OP-CODE is the text of the opcode as a symbol,
66026
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
1023 FULL-NAME is the human readable name as a string,
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
1024 C-BYTE is the operation code telling what operation is to be performed,
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
1025 F-BYTE holds a modification of the operation code which can be a symbol
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
1026 or a number,
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
1027 DESCRIPTION contains an string with a description about the operation code and
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
1028 EXECUTION-TIME holds info about the time it takes, number or string.")
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
1029 ;; (makunbound 'mixal-operation-codes-alist)
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1030
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1031
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1032 ;;; Font-locking:
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1033 (defvar mixal-font-lock-syntactic-keywords
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1034 ;; Normal comments start with a * in column 0 and end at end of line.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1035 '(("^\\*" (0 '(11))) ;(string-to-syntax "<") == '(11)
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1036 ;; Every line can end with a comment which is placed after the operand.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1037 ;; I assume here that mnemonics without operands can not have a comment.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1038 ("^[[:alnum:]]*[ \t]+[[:alnum:]]+[ \t]+[^ \n\t]+[ \t]*\\([ \t]\\)[^\n \t]"
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1039 (1 '(11)))))
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1040
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1041 (defvar mixal-font-lock-keywords
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1042 `(("^\\([A-Z0-9a-z]+\\)"
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1043 (1 mixal-font-lock-label-face))
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1044 (,(regexp-opt (mapcar (lambda (x) (symbol-name (car x)))
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1045 mixal-operation-codes-alist) 'words)
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1046 . mixal-font-lock-operation-code-face)
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1047 (,(regexp-opt mixal-assembly-pseudoinstructions 'words)
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1048 . mixal-font-lock-assembly-pseudoinstruction-face)
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1049 ("^[A-Z0-9a-z]*[ \t]+[A-ZO-9a-z]+[ \t]+\\(=.*=\\)"
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1050 (1 font-lock-constant-face)))
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1051 "Keyword highlighting specification for `mixal-mode'.")
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1052 ;; (makunbound 'mixal-font-lock-keywords)
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1053
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1054 (defvar mixal-describe-operation-code-history nil
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1055 "History list for describe operation code.")
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1056
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1057 (defun mixal-describe-operation-code (op-code)
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1058 "Display the full documentation of OP-CODE."
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1059 (interactive
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1060 (list
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1061 (let* ((completion-ignore-case t)
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1062 ;; we already have a list, but it is not in the right format
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1063 ;; transform it to a valid table so completition can use it
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1064 (table (mapcar '(lambda (elm)
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1065 (cons (symbol-name (car elm)) nil))
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1066 mixal-operation-codes-alist))
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1067 ;; prompt is different depending on we are close to a valid op-code
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1068 (have-default (assq (intern-soft (current-word))
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1069 mixal-operation-codes-alist))
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1070 (prompt (concat "Describe operation code "
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1071 (if have-default
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1072 (concat "(default " (current-word) "): ")
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1073 ": "))))
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1074 ;; As the operation code to the user.
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1075 (completing-read prompt table nil t nil
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1076 'mixal-describe-operation-code-history
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1077 (current-word)))))
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1078 ;; get the info on the op-code and output it to the help buffer
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1079 (let ((op-code-help (assq (intern-soft op-code) mixal-operation-codes-alist)))
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1080 (when op-code-help
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1081 (with-output-to-temp-buffer (buffer-name (get-buffer-create "*Help*"))
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1082 (princ op-code) (princ " is an mix operation code\n\n")
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1083 (princ (nth 5 op-code-help)) (terpri) (terpri)
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1084 (princ " group: ") (princ (nth 1 op-code-help)) (terpri)
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1085 (princ " nice name: ") (princ (nth 2 op-code-help)) (terpri)
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1086 (princ " OPCODE / C: ") (princ (nth 3 op-code-help)) (terpri)
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1087 (princ " MOD / F: ") (princ (nth 4 op-code-help)) (terpri)
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1088 (princ " time: ") (princ (nth 6 op-code-help)) (terpri)))))
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1089
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1090 ;;;; Running
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1091 (defun mixal-run ()
66026
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
1092 "Run mixal file in current buffer, assumes that file has been compiled."
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1093 (interactive)
85825
13163bbed0bf * progmodes/mixal-mode.el (mixal-run, mixal-debug): Call mixvm
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78234
diff changeset
1094 (if (fboundp 'mixvm)
13163bbed0bf * progmodes/mixal-mode.el (mixal-run, mixal-debug): Call mixvm
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78234
diff changeset
1095 (mixvm (concat "mixvm -r -t -d "
13163bbed0bf * progmodes/mixal-mode.el (mixal-run, mixal-debug): Call mixvm
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78234
diff changeset
1096 (file-name-sans-extension (buffer-file-name))))
13163bbed0bf * progmodes/mixal-mode.el (mixal-run, mixal-debug): Call mixvm
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78234
diff changeset
1097 (error "mixvm.el needs to be loaded to run `mixvm'")))
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1098
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1099 (defun mixal-debug ()
66026
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
1100 "Start mixvm for debugging.
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
1101 Assumes that file has been compiled with debugging support."
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1102 (interactive)
85825
13163bbed0bf * progmodes/mixal-mode.el (mixal-run, mixal-debug): Call mixvm
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78234
diff changeset
1103 (if (fboundp 'mixvm)
13163bbed0bf * progmodes/mixal-mode.el (mixal-run, mixal-debug): Call mixvm
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78234
diff changeset
1104 (mixvm (concat "mixvm "
13163bbed0bf * progmodes/mixal-mode.el (mixal-run, mixal-debug): Call mixvm
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78234
diff changeset
1105 (file-name-sans-extension (buffer-file-name))))
13163bbed0bf * progmodes/mixal-mode.el (mixal-run, mixal-debug): Call mixvm
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78234
diff changeset
1106 (error "mixvm.el needs to be loaded to run `mixvm'")))
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1107
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1108 ;;;###autoload
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1109 (define-derived-mode mixal-mode fundamental-mode "mixal"
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1110 "Major mode for the mixal asm language.
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1111 \\{mixal-mode-map}"
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1112 (set (make-local-variable 'comment-start) "*")
66055
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1113 (set (make-local-variable 'comment-start-skip) "^\\*[ \t]*")
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1114 (set (make-local-variable 'font-lock-defaults)
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1115 `(mixal-font-lock-keywords nil nil nil nil
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1116 (font-lock-syntactic-keywords . ,mixal-font-lock-syntactic-keywords)
99e68b20efb2 (mixal-mode-syntax-table): Add \n as end-comment.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 66026
diff changeset
1117 (parse-sexp-lookup-properties . t)))
66026
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
1118 ;; might add an indent function in the future
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
1119 ;; (set (make-local-variable 'indent-line-function) 'mixal-indent-line)
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
1120 (set (make-local-variable 'compile-command) (concat "mixasm "
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1121 buffer-file-name))
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1122 ;; mixasm will do strange when there is no final newline,
59247
d162faeebae4 (mixal-mode): Use mode-require-final-newline.
Richard M. Stallman <rms@gnu.org>
parents: 52401
diff changeset
1123 ;; so let Emacs ensure that it is always there
d162faeebae4 (mixal-mode): Use mode-require-final-newline.
Richard M. Stallman <rms@gnu.org>
parents: 52401
diff changeset
1124 (set (make-local-variable 'require-final-newline)
d162faeebae4 (mixal-mode): Use mode-require-final-newline.
Richard M. Stallman <rms@gnu.org>
parents: 52401
diff changeset
1125 mode-require-final-newline))
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1126
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1127 ;;;###autoload
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1128 (add-to-list 'auto-mode-alist '("\\.mixal\\'" . mixal-mode))
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1129
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1130 (provide 'mixal-mode)
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 51592
diff changeset
1131
66026
20752359c953 Sync with version in the GNU MDK project.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 65236
diff changeset
1132 ;; arch-tag: be7c128a-bf61-4951-a90e-9398267ce3f3
51592
658ac87cca4e New file.
Juanma Barranquero <lekktu@gmail.com>
parents:
diff changeset
1133 ;;; mixal-mode.el ends here