Re: The joy of FORTRAN-like languages

Liste des GroupesRevenir à col misc 
Sujet : Re: The joy of FORTRAN-like languages
De : news (at) *nospam* alderson.users.panix.com (Rich Alderson)
Groupes : alt.folklore.computers comp.os.linux.misc
Suivi-à : alt.folklore.computers
Date : 01. Oct 2024, 21:39:37
Autres entêtes
Organisation : PANIX Public Access Internet and UNIX, NYC
Message-ID : <mddmsjn36d2.fsf@panix5.panix.com>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Gnus v5.7/Emacs 22.3
Lawrence D'Oliveiro <ldo@nz.invalid> writes:

On 30 Sep 2024 16:51:33 -0400, Rich Alderson wrote:

[PDP-6/PDP-10:] Lovely machines to program.

Bit before my time (the main campus machine was a PDP-11/70 when I started
first year Comp Sci). But I know they had a very loyal community, who were
very upset when DEC cancelled its "Jupiter" project in favour of going
all-in on VAX.

I read some docs once. One thing I can remember is the "JUMP" instruction
is actually a no-op: if you want an unconditional jump, for example, you
use "JUMPA", for "jump always". ;)

The instruction set is highly fleshed out, so that there are a number of no-ops.
The usual branch instruction is JRST "jump and restore PC flags"; JUMPA is most
often used by DDT for entering and returning from debugger inserted patches,
although a programmer might want to use it for reasons.

The JUMP no-op is actually useful in TOPS-20, where it is used for various
error catches after system calls.  The action taken depends on the AC field of
the instruction.  NB:  These are not mandatory; the programmer can write her
own code to deal with error returns from system calls, and that is frequently
what is done.

Early in the history of the family, different no-ops were faster or slower, so
choice was important.  In the KL-10 and all following processors (including
those from other manufacturers), the microcode for most no-ops is the same so
does not matter[1].

The one I use most often is TRN "test right half of AC with no bits modified
and do not skip", one of the test-and-skip family.

[1] See above for JUMP with nonzero AC field.

--
Rich Alderson   news@alderson.users.panix.com
      Audendum est, et veritas investiganda; quam etiamsi non assequamur,
  omnino tamen proprius, quam nunc sumus, ad eam perveniemus.
--Galen

Date Sujet#  Auteur
29 Sep 24 * Re: The joy of FORTRAN-like languages11The Natural Philosopher
29 Sep 24 +* Re: The joy of FORTRAN-like languages3Peter Flass
30 Sep 24 i`* Re: The joy of FORTRAN-like languages2The Natural Philosopher
30 Sep 24 i `- Re: The joy of FORTRAN-like languages1Peter Flass
30 Sep 24 `* Re: The joy of FORTRAN-like languages7Rich Alderson
30 Sep 24  +- Re: The joy of FORTRAN-like languages1Bob Eager
30 Sep 24  +* Re: The joy of FORTRAN-like languages4Lawrence D'Oliveiro
1 Oct 24  i+* Re: The joy of FORTRAN-like languages2Lars Poulsen
1 Oct 24  ii`- Re: The joy of FORTRAN-like languages1Rich Alderson
1 Oct 24  i`- Re: The joy of FORTRAN-like languages1Rich Alderson
1 Oct 24  `- Re: The joy of FORTRAN-like languages1Rich Alderson

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal