* Synchronising mixal-mode with GNU MDK's latest release
@ 2020-10-16 18:13 jao
2020-10-17 0:38 ` bug#44037: " Stefan Kangas
[not found] ` <wjloifi5OyhNLL_R2tCbE8ohnW64G0cZ8HTy4ND0daNNZ3YWeHBXN8eeNMkWKZGfgcDx-yXQP37U0yqw5FBjIg==@protonmail.internalid>
0 siblings, 2 replies; 13+ messages in thread
From: jao @ 2020-10-16 18:13 UTC (permalink / raw)
To: bug-gnu-emacs; +Cc: bug-mdk, Stefan Kangas
[-- Attachment #1: Type: text/plain, Size: 725 bytes --]
Tags: patch
thanks
Please find attached a patch that updates mixal-mode.el with latest
changes in GNU MDK. I should have papers in place for emacs.
Do you think it'd be better if i just dropped that file from MDK's
tarball and maintain it by submitting patches here instead?
Thanks a lot!
jao
In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0)
of 2020-10-16 built on osgiliath
Repository revision: 6a2f56db4e602372e33f35326a73cffa03586479
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12009000
System Description: Debian GNU/Linux bullseye/sid
Configured using:
'configure --prefix=/usr/local/stow/emacs --with-x-toolkit=no
--with-imagemagick'
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-mixal-mode-add-missed-instructions.patch --]
[-- Type: text/patch, Size: 3623 bytes --]
From 5bc3fbf661b895e665f7a07eb5b43d25bad83ad1 Mon Sep 17 00:00:00 2001
From: "Jose A. Ortega Ruiz" <jao@gnu.org>
Date: Fri, 16 Oct 2020 18:56:46 +0100
Subject: [PATCH] mixal-mode: add missed instructions
Synchronises with latest released GNU MDK 1.2.11
* mixal-mode.el (mixal-operation-codes-alist):
Add missed instructions: SLB,SRB,JAE,JAO,JXE,JXO
---
lisp/progmodes/mixal-mode.el | 42 ++++++++++++++++++++++++++++++++----
1 file changed, 38 insertions(+), 4 deletions(-)
diff --git a/lisp/progmodes/mixal-mode.el b/lisp/progmodes/mixal-mode.el
index 468c116b67..9354af2085 100644
--- a/lisp/progmodes/mixal-mode.el
+++ b/lisp/progmodes/mixal-mode.el
@@ -5,7 +5,7 @@
;; Author: Pieter E.J. Pareit <pieter.pareit@gmail.com>
;; Maintainer: emacs-devel@gnu.org
;; Created: 09 Nov 2002
-;; Version: 0.1
+;; Version: 0.4
;; Keywords: languages, Knuth, mix, mixal, asm, mixvm, The Art Of Computer Programming
;; This file is part of GNU Emacs.
@@ -45,6 +45,9 @@
;; Have fun.
;;; History:
+;; Version 0.4:
+;; 16/10/20: Jose A Ortega Ruiz <jao@gnu.org>
+;; Add missed instructions: SLB,SRB,JAE,JAO,JXE,JXO
;; Version 0.3:
;; 12/10/05: Stefan Monnier <monnier@iro.umontreal.ca>
;; Use font-lock-syntactic-keywords to detect/mark comments.
@@ -683,6 +686,18 @@ mixal-operation-codes-alist
been executed when there was no jump."
1)
+ (JAE jump "jump A even" 40
+ "Jump if the content of rA is even.
+Register J is set to the value of the next instruction that would have
+been executed when there was no jump."
+ 1)
+
+ (JAO jump "jump A odd" 40
+ "Jump if the content of rA is odd.
+Register J is set to the value of the next instruction that would have
+been executed when there was no jump."
+ 1)
+
(JXN jump "jump X negative" 47
"Jump if the content of rX is negative.
Register J is set to the value of the next instruction that would have
@@ -719,12 +734,24 @@ mixal-operation-codes-alist
been executed when there was no jump."
1)
- (J1N jump "jump I1 negative" 41
- "Jump if the content of rI1 is negative.
+ (JXE jump "jump X even" 47
+ "Jump if the content of rX is even.
+Register J is set to the value of the next instruction that would have
+been executed when there was no jump."
+ 1)
+
+ (JXO jump "jump X odd" 47
+ "Jump if the content of rX is odd.
Register J is set to the value of the next instruction that would have
been executed when there was no jump."
1)
+ (J1N jump "jump I1 negative" 41
+ "Jump if the content of rI1 is negative.
+Register J is set to the value of the next instruction that would have
+been executed when there was no jump."
+ 1)
+
(J1Z jump "jump I1 zero" 41
"Jump if the content of rI1 is zero.
Register J is set to the value of the next instruction that would have
@@ -950,7 +977,6 @@ mixal-operation-codes-alist
Zeros will be added to the right."
2)
-
(SRAX miscellaneous "shift right AX" 6
"Shift AX, M bytes right.
Zeros will be added to the left."
@@ -966,6 +992,14 @@ mixal-operation-codes-alist
The bytes that fall off to the right will be added to the left."
2)
+ (SLB miscellaneous "shift left AX binary" 6
+ "Shift AX, M binary places left."
+ 2)
+
+ (SRB miscellaneous "shift right AX binary" 6
+ "Shift AX, M binary places right."
+ 2)
+
(MOVE miscellaneous "move" 7 number
"Move MOD words from M to the location stored in rI1."
(+ 1 (* 2 number)))
--
2.28.0
[-- Attachment #3: Type: text/plain, Size: 134 bytes --]
--
They are ill discoverers that think there is no land, when they can
see nothing but sea. -Francis Bacon, philosopher (1561-1626)
^ permalink raw reply related [flat|nested] 13+ messages in thread
* bug#44037: Synchronising mixal-mode with GNU MDK's latest release
2020-10-16 18:13 Synchronising mixal-mode with GNU MDK's latest release jao
@ 2020-10-17 0:38 ` Stefan Kangas
2020-10-17 6:17 ` Lars Ingebrigtsen
[not found] ` <wjloifi5OyhNLL_R2tCbE8ohnW64G0cZ8HTy4ND0daNNZ3YWeHBXN8eeNMkWKZGfgcDx-yXQP37U0yqw5FBjIg==@protonmail.internalid>
1 sibling, 1 reply; 13+ messages in thread
From: Stefan Kangas @ 2020-10-17 0:38 UTC (permalink / raw)
To: jao; +Cc: bug-mdk, 44037
jao <jao@gnu.org> writes:
> Please find attached a patch that updates mixal-mode.el with latest
> changes in GNU MDK. I should have papers in place for emacs.
Thanks! The patch looks good to me.
I can only see one previous commit from you (marked
"Copyright-paperwork-exempt") in the git log, so I'll wait for someone
with access to verify the copyright status. (OTOH, maybe it doesn't
matter since these changes are already assigned to the FSF via GNU MDK?)
> Do you think it'd be better if i just dropped that file from MDK's
> tarball and maintain it by submitting patches here instead?
I guess it depends on if your users can wait for the changes until the
next major Emacs release, or if you feel that it would be beneficial to
get the changes out there earlier than that. Orthogonally, one could
perhaps consider if this should be distributed as a GNU ELPA package.
In all cases, it would be very helpful if you could submit patches here
when there are any changes.
> Thanks a lot!
Thanks for handling this very promptly!
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#44037: Synchronising mixal-mode with GNU MDK's latest release
2020-10-17 0:38 ` bug#44037: " Stefan Kangas
@ 2020-10-17 6:17 ` Lars Ingebrigtsen
2020-10-17 8:02 ` Eli Zaretskii
0 siblings, 1 reply; 13+ messages in thread
From: Lars Ingebrigtsen @ 2020-10-17 6:17 UTC (permalink / raw)
To: Stefan Kangas; +Cc: bug-mdk, 44037, jao
Stefan Kangas <stefan@marxist.se> writes:
> I can only see one previous commit from you (marked
> "Copyright-paperwork-exempt") in the git log, so I'll wait for someone
> with access to verify the copyright status.
Jose's copyright paperwork is on file.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#44037: Synchronising mixal-mode with GNU MDK's latest release
2020-10-17 6:17 ` Lars Ingebrigtsen
@ 2020-10-17 8:02 ` Eli Zaretskii
2020-10-17 8:07 ` Lars Ingebrigtsen
0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2020-10-17 8:02 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: bug-mdk, 44037, stefan, jao
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Sat, 17 Oct 2020 08:17:22 +0200
> Cc: bug-mdk@gnu.org, 44037@debbugs.gnu.org, jao <jao@gnu.org>
>
> Stefan Kangas <stefan@marxist.se> writes:
>
> > I can only see one previous commit from you (marked
> > "Copyright-paperwork-exempt") in the git log, so I'll wait for someone
> > with access to verify the copyright status.
>
> Jose's copyright paperwork is on file.
I'm not sure. I don't understand the semantics of "EMACS EMMS", I
think it might mean the assignment is limited to EMMS.
I will ask the copyright clerk.
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#44037: Synchronising mixal-mode with GNU MDK's latest release
2020-10-17 8:02 ` Eli Zaretskii
@ 2020-10-17 8:07 ` Lars Ingebrigtsen
2020-10-17 9:25 ` Eli Zaretskii
0 siblings, 1 reply; 13+ messages in thread
From: Lars Ingebrigtsen @ 2020-10-17 8:07 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: bug-mdk, 44037, stefan, jao
Eli Zaretskii <eliz@gnu.org> writes:
> I'm not sure. I don't understand the semantics of "EMACS EMMS", I
> think it might mean the assignment is limited to EMMS.
I assumed that that was a list of things that were assigned, not a
subset. For instance, there's entries like
GDB BINUTILS GLIBC
and
GCC GNULIB
and
AUTOCONF AUTOMAKE BINUTILS COREUTILS DejaGNU EMACS FINDUTILS GCC GMP GZIP GDB GLIBC MAKE MPFR TAR TEXINFO
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#44037: Synchronising mixal-mode with GNU MDK's latest release
2020-10-17 8:07 ` Lars Ingebrigtsen
@ 2020-10-17 9:25 ` Eli Zaretskii
2020-10-17 15:21 ` jao
[not found] ` <87tuusho8f.fsf@gnus.jao.io>
0 siblings, 2 replies; 13+ messages in thread
From: Eli Zaretskii @ 2020-10-17 9:25 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: bug-mdk, 44037, stefan, jao
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: stefan@marxist.se, bug-mdk@gnu.org, 44037@debbugs.gnu.org, jao@gnu.org
> Date: Sat, 17 Oct 2020 10:07:15 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > I'm not sure. I don't understand the semantics of "EMACS EMMS", I
> > think it might mean the assignment is limited to EMMS.
>
> I assumed that that was a list of things that were assigned, not a
> subset. For instance, there's entries like
>
> GDB BINUTILS GLIBC
>
> and
>
> GCC GNULIB
>
> and
>
> AUTOCONF AUTOMAKE BINUTILS COREUTILS DejaGNU EMACS FINDUTILS GCC GMP GZIP GDB GLIBC MAKE MPFR TAR TEXINFO
I prefer to be sure we don't misinterpret what that says.
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#44037: Synchronising mixal-mode with GNU MDK's latest release
2020-10-17 9:25 ` Eli Zaretskii
@ 2020-10-17 15:21 ` jao
[not found] ` <87tuusho8f.fsf@gnus.jao.io>
1 sibling, 0 replies; 13+ messages in thread
From: jao @ 2020-10-17 15:21 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: bug-mdk, 44037, Lars Ingebrigtsen, stefan
[-- Attachment #1: Type: text/plain, Size: 887 bytes --]
On Sat, Oct 17 2020, Eli Zaretskii wrote:
>> From: Lars Ingebrigtsen <larsi@gnus.org>
>> Cc: stefan@marxist.se, bug-mdk@gnu.org, 44037@debbugs.gnu.org, jao@gnu.org
>> Date: Sat, 17 Oct 2020 10:07:15 +0200
>>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> > I'm not sure. I don't understand the semantics of "EMACS EMMS", I
>> > think it might mean the assignment is limited to EMMS.
>>
>> I assumed that that was a list of things that were assigned, not a
>> subset. For instance, there's entries like
>>
>> GDB BINUTILS GLIBC
>>
>> and
>>
>> GCC GNULIB
>>
>> and
>>
>> AUTOCONF AUTOMAKE BINUTILS COREUTILS DejaGNU EMACS FINDUTILS GCC GMP GZIP GDB GLIBC MAKE MPFR TAR TEXINFO
>
> I prefer to be sure we don't misinterpret what that says.
FWIW, i've checked my archives and i do have separate PDFs with
assignments for EMMS and EMACS. Happy to send them off-list if you need
to.
[-- Attachment #2: Type: image/png, Size: 63199 bytes --]
[-- Attachment #3: Type: text/plain, Size: 14 bytes --]
Thanks!
jao
^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <87tuusho8f.fsf@gnus.jao.io>]
* bug#44037: Synchronising mixal-mode with GNU MDK's latest release
[not found] ` <87tuusho8f.fsf@gnus.jao.io>
@ 2020-10-17 15:29 ` Eli Zaretskii
[not found] ` <831rhwuayx.fsf@gnu.org>
1 sibling, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2020-10-17 15:29 UTC (permalink / raw)
To: jao; +Cc: bug-mdk, 44037, larsi, stefan
> From: jao <jao@gnu.org>
> Cc: "Lars Ingebrigtsen" <larsi@gnus.org>, <stefan@marxist.se>,
> <bug-mdk@gnu.org>, <44037@debbugs.gnu.org>
> Date: Sat, 17 Oct 2020 16:21:52 +0100
>
> > I prefer to be sure we don't misinterpret what that says.
>
> FWIW, i've checked my archives and i do have separate PDFs with
> assignments for EMMS and EMACS. Happy to send them off-list if you need
> to.
No, this information is enough for me, thanks. Your changes can be
installed.
^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <831rhwuayx.fsf@gnu.org>]
* bug#44037: Synchronising mixal-mode with GNU MDK's latest release
[not found] ` <831rhwuayx.fsf@gnu.org>
@ 2020-10-17 16:12 ` Stefan Kangas
0 siblings, 0 replies; 13+ messages in thread
From: Stefan Kangas @ 2020-10-17 16:12 UTC (permalink / raw)
To: Eli Zaretskii, jao; +Cc: bug-mdk, 44037, larsi
close 44037 28.1
thanks
Eli Zaretskii <eliz@gnu.org> writes:
>> FWIW, i've checked my archives and i do have separate PDFs with
>> assignments for EMMS and EMACS. Happy to send them off-list if you need
>> to.
>
> No, this information is enough for me, thanks. Your changes can be
> installed.
Pushed to master as commit 9513aa8f48.
^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <wjloifi5OyhNLL_R2tCbE8ohnW64G0cZ8HTy4ND0daNNZ3YWeHBXN8eeNMkWKZGfgcDx-yXQP37U0yqw5FBjIg==@protonmail.internalid>]
end of thread, other threads:[~2020-10-17 22:54 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-16 18:13 Synchronising mixal-mode with GNU MDK's latest release jao
2020-10-17 0:38 ` bug#44037: " Stefan Kangas
2020-10-17 6:17 ` Lars Ingebrigtsen
2020-10-17 8:02 ` Eli Zaretskii
2020-10-17 8:07 ` Lars Ingebrigtsen
2020-10-17 9:25 ` Eli Zaretskii
2020-10-17 15:21 ` jao
[not found] ` <87tuusho8f.fsf@gnus.jao.io>
2020-10-17 15:29 ` Eli Zaretskii
[not found] ` <831rhwuayx.fsf@gnu.org>
2020-10-17 16:12 ` Stefan Kangas
[not found] ` <wjloifi5OyhNLL_R2tCbE8ohnW64G0cZ8HTy4ND0daNNZ3YWeHBXN8eeNMkWKZGfgcDx-yXQP37U0yqw5FBjIg==@protonmail.internalid>
[not found] ` <a3KmxrklZKnf84FXmk1wEdzB8XYy0-wBrucT3ffoJhUkWWyz4nJJHEDd3MG3v7P0fPC59FMwGWE4J-JSZDrQKg==@protonmail.conversationid>
[not found] ` <CADwFkmk=DNFW8uOtF8YqmHWY7Q6-XUpVOVXm+h2dnGLs7NNQjg@mail.gmail.com>
2020-10-17 2:29 ` jao
2020-10-17 13:56 ` Stefan Kangas
[not found] ` <wlvbxV-4DmAznMNiFW0JC04m41gs9PrC2F2pUAJx4V7iZp7ATpC8eLkOEkGwnEIGBfb23rJbMOEZkQfqwLa9bQ==@protonmail.internalid>
[not found] ` <CADwFkmmCm8M=LAVnrzi_R88UZbi4yzvXCPmQCYfc17a2pDZgDw@mail.gmail.com>
2020-10-17 22:21 ` jao
[not found] ` <87k0voh4t4.fsf@gnus.jao.io>
2020-10-17 22:54 ` Stefan Kangas
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.