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