Re: branch address architecture, not interactive use, The Design of Design

Liste des GroupesRevenir à c arch 
Sujet : Re: branch address architecture, not interactive use, The Design of Design
De : anton (at) *nospam* mips.complang.tuwien.ac.at (Anton Ertl)
Groupes : comp.arch
Date : 25. May 2024, 18:35:57
Autres entêtes
Organisation : Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID : <2024May25.193557@mips.complang.tuwien.ac.at>
References : 1 2 3 4 5
User-Agent : xrn 10.11
John Levine <johnl@taugh.com> writes:
You could do some funky things with PDP-11 jumps like
>
 JMP @(R4)+
>
which dispatched to the next routine of threaded code pointed to by R4.

Interestingly, the 68000 has a (An)+ addressing mode, but

1) "JMP op" is equivalent to "LEA op -> PC" rather than "MOV.l op -> PC"

2) The 68000 does not allow JMP (An)+

So you need to write that as

MOV.l (A0)+,A1
JMP (A1)

IA-32 (and AMD64) does not make mistake 1), but it has no
autoincrement addressing mode, so you have to implement that as, e.g.

add 8, %rbx
jmp -8(%rbx)

(or possibly arrange the convention between the threaded-code routines
to avoid the -8).

- anton
--
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
  Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>

Date Sujet#  Auteur
21 Apr 24 * The Design of Design128Thomas Koenig
21 Apr 24 +* Re: The Design of Design67John Levine
25 Apr 24 i`* Re: The Design of Design66Thomas Koenig
25 Apr 24 i `* Re: The Design of Design65Stephen Fuld
26 Apr 24 i  +* Re: The Design of Design56John Levine
26 Apr 24 i  i+* Re: The Design of Design2MitchAlsup1
26 Apr 24 i  ii`- Re: The Design of Design1John Levine
26 Apr 24 i  i+* Re: The Design of Design50Thomas Koenig
26 Apr 24 i  ii+- Re: The Design of Design1Stephen Fuld
26 Apr 24 i  ii+* Re: The Design of Design47John Levine
27 Apr 24 i  iii+* Re: The Design of Design4Thomas Koenig
27 Apr 24 i  iiii`* Re: PDP-10 addressing, was The Design of Design3John Levine
27 Apr 24 i  iiii `* Re: PDP-10 addressing, was The Design of Design2MitchAlsup1
27 Apr 24 i  iiii  `- Re: PDP-10 addressing, was The Design of Design1John Levine
30 Apr 24 i  iii`* Re: The Design of Design42MitchAlsup1
30 Apr 24 i  iii +* Re: The Design of Design40John Levine
1 May 24 i  iii i`* Re: The Design of Design39Tim Rentsch
1 May 24 i  iii i `* Re: architecture, The Design of Design38John Levine
2 May 24 i  iii i  +- Re: index architecture, The Design of Design1John Levine
2 May 24 i  iii i  +* Re: architecture, The Design of Design4Thomas Koenig
3 May 24 i  iii i  i+- Re: architecture, The Design of Design1MitchAlsup1
5 May 24 i  iii i  i`* Re: architecture, The Design of Design2Thomas Koenig
5 May 24 i  iii i  i `- Re: ancient 704 architecture, The Design of Design1John Levine
7 May 24 i  iii i  `* Re: architecture, The Design of Design32Tim Rentsch
7 May 24 i  iii i   +- Re: architecture, The Design of Design1Thomas Koenig
7 May 24 i  iii i   +* Re: architecture, The Design of Design28Michael S
7 May 24 i  iii i   i+* Re: architecture, The Design of Design2John Levine
8 May 24 i  iii i   ii`- Re: architecture, The Design of Design1John Levine
8 May 24 i  iii i   i+* Re: architecture, The Design of Design2Tim Rentsch
9 May 24 i  iii i   ii`- Re: architecture, The Design of Design1John Levine
8 May 24 i  iii i   i`* Re: architecture, The Design of Design23Thomas Koenig
8 May 24 i  iii i   i `* Re: architecture, The Design of Design22Michael S
8 May 24 i  iii i   i  `* Re: backward architecture, The Design of Design21John Levine
9 May 24 i  iii i   i   +* Re: backward architecture, The Design of Design2Lynn Wheeler
10 May 24 i  iii i   i   i`- Re: backward architecture, The Design of Design1Lynn Wheeler
9 May 24 i  iii i   i   `* Re: backward architecture, The Design of Design18Michael S
9 May 24 i  iii i   i    +* Re: backward architecture, The Design of Design14Thomas Koenig
9 May 24 i  iii i   i    i`* Re: backward architecture, The Design of Design13Michael S
9 May 24 i  iii i   i    i +* Re: backward architecture, The Design of Design2Anton Ertl
9 May 24 i  iii i   i    i i`- Re: backward architecture, The Design of Design1Anton Ertl
9 May 24 i  iii i   i    i +* Re: backward architecture, The Design of Design9Stephen Fuld
9 May 24 i  iii i   i    i i+* Re: backward architecture, The Design of Design2Michael S
9 May 24 i  iii i   i    i ii`- Re: backward architecture, The Design of Design1John Dallman
10 May 24 i  iii i   i    i i`* Re: backward architecture, The Design of Design6Tim Rentsch
10 May 24 i  iii i   i    i i `* Re: backward architecture, The Design of Design5Stephen Fuld
30 May 24 i  iii i   i    i i  `* Re: backward architecture, The Design of Design4Tim Rentsch
30 May 24 i  iii i   i    i i   `* Re: backward architecture, The Design of Design3Stephen Fuld
30 May 24 i  iii i   i    i i    `* Re: backward architecture, The Design of Design2Tim Rentsch
31 May 24 i  iii i   i    i i     `- Re: backward architecture, The Design of Design1John Levine
10 May 24 i  iii i   i    i `- Re: backward architecture, The Design of Design1Tim Rentsch
10 May 24 i  iii i   i    +- Re: backward architecture, The Design of Design1John Levine
10 May 24 i  iii i   i    `* Re: backward architecture, The Design of Design2Tim Rentsch
10 May 24 i  iii i   i     `- Re: backward architecture, The Design of Design1John Levine
7 May 24 i  iii i   `* Re: architecture, The Design of Design2Anton Ertl
8 May 24 i  iii i    `- Re: architecture, The Design of Design1Tim Rentsch
30 Apr 24 i  iii `- Re: The Design of Design1MitchAlsup1
30 Apr 24 i  ii`- Re: what's a register, The Design of Design1John Levine
26 Apr 24 i  i`* Re: The Design of Design3Stephen Fuld
26 Apr 24 i  i `* Re: The Design of Design2John Levine
26 Apr 24 i  i  `- Re: The Design of Design1Stephen Fuld
27 Apr 24 i  +* Re: The Design of Design7Thomas Koenig
27 Apr 24 i  i+- Re: The Design of Design1Stephen Fuld
27 Apr 24 i  i+* Re: The Design of Design2John Levine
27 Apr 24 i  ii`- Re: The Design of Design1Thomas Koenig
28 Apr 24 i  i`* Re: The Design of Design3Tim Rentsch
29 Apr 24 i  i `* Re: antitrust history, The Design of Design2John Levine
1 May 24 i  i  `- Re: antitrust history, The Design of Design1Tim Rentsch
29 Apr 24 i  `- Re: The Design of Design1Tim Rentsch
29 Apr 24 `* Re: The Design of Design60Tim Rentsch
1 May 24  `* Re: The Design of Design59Stephen Fuld
1 May 24   +* Re: JCL, The Design of Design3John Levine
1 May 24   i`* Re: JCL, The Design of Design2Stephen Fuld
1 May 24   i `- Re: JCL, The Design of Design1Stephen Fuld
1 May 24   +- Re: The Design of Design1MitchAlsup1
1 May 24   +- Re: The Design of Design1Thomas Koenig
7 May 24   `* Re: The Design of Design53Tim Rentsch
7 May 24    +* Re: The Design of Design45Stephen Fuld
7 May 24    i+- Re: The Design of Design1Thomas Koenig
7 May 24    i+* Re: The Design of Design33Stephen Fuld
7 May 24    ii+* Re: The Design of Design29Thomas Koenig
7 May 24    iii`* Re: The Design of Design28Stephen Fuld
7 May 24    iii +* Re: interative use, The Design of Design25John Levine
7 May 24    iii i+* Re: interative use, The Design of Design4MitchAlsup1
8 May 24    iii ii`* Re: third system syndrome, interactive use, The Design of Design3John Levine
8 May 24    iii ii `* Re: third system syndrome, interactive use, The Design of Design2Lynn Wheeler
9 May 24    iii ii  `- Re: third system syndrome, interactive use, The Design of Design1Lynn Wheeler
8 May 24    iii i`* Re: interative use, The Design of Design20Stephen Fuld
8 May 24    iii i `* Re: interative use, The Design of Design19John Levine
9 May 24    iii i  `* Re: interative use, The Design of Design18Stephen Fuld
10 May 24    iii i   `* Re: address architecture, not interactive use, The Design of Design17John Levine
10 May 24    iii i    +- Re: address architecture, not interactive use, The Design of Design1Stephen Fuld
11 May 24    iii i    `* Re: address architecture, not interactive use, The Design of Design15Thomas Koenig
11 May 24    iii i     +* Re: address architecture, not interactive use, The Design of Design3MitchAlsup1
12 May 24    iii i     i`* Re: address architecture, not interactive use, The Design of Design2Thomas Koenig
13 May 24    iii i     i `- Re: address architecture, not interactive use, The Design of Design1MitchAlsup1
11 May 24    iii i     `* Re: branch address architecture, not interactive use, The Design of Design11John Levine
12 May 24    iii i      `* Re: branch address architecture, not interactive use, The Design of Design10Thomas Koenig
13 May 24    iii i       `* Re: branch address architecture, not interactive use, The Design of Design9John Levine
13 May 24    iii i        `* Re: branch address architecture, not interactive use, The Design of Design8Thomas Koenig
13 May 24    iii i         `* Re: branch address architecture, not interactive use, The Design of Design7John Levine
13 May 24    iii i          +* Re: branch address architecture, not interactive use, The Design of Design4MitchAlsup1
14 May 24    iii i          +- Re: branch address architecture, not interactive use, The Design of Design1Thomas Koenig
25 May 24    iii i          `- Re: branch address architecture, not interactive use, The Design of Design1Anton Ertl
8 May 24    iii `* Re: The Design of Design2Thomas Koenig
10 May 24    ii`* Re: The Design of Design3Tim Rentsch
30 May 24    i`* Re: The Design of Design10Tim Rentsch
7 May 24    `* Re: The Design of Design7Thomas Koenig

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal