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.archDate : 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 Design | 128 | | Thomas Koenig |
21 Apr 24 | Re: The Design of Design | 67 | | John Levine |
25 Apr 24 | Re: The Design of Design | 66 | | Thomas Koenig |
25 Apr 24 | Re: The Design of Design | 65 | | Stephen Fuld |
26 Apr 24 | Re: The Design of Design | 56 | | John Levine |
26 Apr 24 | Re: The Design of Design | 2 | | MitchAlsup1 |
26 Apr 24 | Re: The Design of Design | 1 | | John Levine |
26 Apr 24 | Re: The Design of Design | 50 | | Thomas Koenig |
26 Apr 24 | Re: The Design of Design | 1 | | Stephen Fuld |
26 Apr 24 | Re: The Design of Design | 47 | | John Levine |
27 Apr 24 | Re: The Design of Design | 4 | | Thomas Koenig |
27 Apr 24 | Re: PDP-10 addressing, was The Design of Design | 3 | | John Levine |
27 Apr 24 | Re: PDP-10 addressing, was The Design of Design | 2 | | MitchAlsup1 |
27 Apr 24 | Re: PDP-10 addressing, was The Design of Design | 1 | | John Levine |
30 Apr 24 | Re: The Design of Design | 42 | | MitchAlsup1 |
30 Apr 24 | Re: The Design of Design | 40 | | John Levine |
1 May 24 | Re: The Design of Design | 39 | | Tim Rentsch |
1 May 24 | Re: architecture, The Design of Design | 38 | | John Levine |
2 May 24 | Re: index architecture, The Design of Design | 1 | | John Levine |
2 May 24 | Re: architecture, The Design of Design | 4 | | Thomas Koenig |
3 May 24 | Re: architecture, The Design of Design | 1 | | MitchAlsup1 |
5 May 24 | Re: architecture, The Design of Design | 2 | | Thomas Koenig |
5 May 24 | Re: ancient 704 architecture, The Design of Design | 1 | | John Levine |
7 May 24 | Re: architecture, The Design of Design | 32 | | Tim Rentsch |
7 May 24 | Re: architecture, The Design of Design | 1 | | Thomas Koenig |
7 May 24 | Re: architecture, The Design of Design | 28 | | Michael S |
7 May 24 | Re: architecture, The Design of Design | 2 | | John Levine |
8 May 24 | Re: architecture, The Design of Design | 1 | | John Levine |
8 May 24 | Re: architecture, The Design of Design | 2 | | Tim Rentsch |
9 May 24 | Re: architecture, The Design of Design | 1 | | John Levine |
8 May 24 | Re: architecture, The Design of Design | 23 | | Thomas Koenig |
8 May 24 | Re: architecture, The Design of Design | 22 | | Michael S |
8 May 24 | Re: backward architecture, The Design of Design | 21 | | John Levine |
9 May 24 | Re: backward architecture, The Design of Design | 2 | | Lynn Wheeler |
10 May 24 | Re: backward architecture, The Design of Design | 1 | | Lynn Wheeler |
9 May 24 | Re: backward architecture, The Design of Design | 18 | | Michael S |
9 May 24 | Re: backward architecture, The Design of Design | 14 | | Thomas Koenig |
9 May 24 | Re: backward architecture, The Design of Design | 13 | | Michael S |
9 May 24 | Re: backward architecture, The Design of Design | 2 | | Anton Ertl |
9 May 24 | Re: backward architecture, The Design of Design | 1 | | Anton Ertl |
9 May 24 | Re: backward architecture, The Design of Design | 9 | | Stephen Fuld |
9 May 24 | Re: backward architecture, The Design of Design | 2 | | Michael S |
9 May 24 | Re: backward architecture, The Design of Design | 1 | | John Dallman |
10 May 24 | Re: backward architecture, The Design of Design | 6 | | Tim Rentsch |
10 May 24 | Re: backward architecture, The Design of Design | 5 | | Stephen Fuld |
30 May 24 | Re: backward architecture, The Design of Design | 4 | | Tim Rentsch |
30 May 24 | Re: backward architecture, The Design of Design | 3 | | Stephen Fuld |
30 May 24 | Re: backward architecture, The Design of Design | 2 | | Tim Rentsch |
31 May 24 | Re: backward architecture, The Design of Design | 1 | | John Levine |
10 May 24 | Re: backward architecture, The Design of Design | 1 | | Tim Rentsch |
10 May 24 | Re: backward architecture, The Design of Design | 1 | | John Levine |
10 May 24 | Re: backward architecture, The Design of Design | 2 | | Tim Rentsch |
10 May 24 | Re: backward architecture, The Design of Design | 1 | | John Levine |
7 May 24 | Re: architecture, The Design of Design | 2 | | Anton Ertl |
8 May 24 | Re: architecture, The Design of Design | 1 | | Tim Rentsch |
30 Apr 24 | Re: The Design of Design | 1 | | MitchAlsup1 |
30 Apr 24 | Re: what's a register, The Design of Design | 1 | | John Levine |
26 Apr 24 | Re: The Design of Design | 3 | | Stephen Fuld |
26 Apr 24 | Re: The Design of Design | 2 | | John Levine |
26 Apr 24 | Re: The Design of Design | 1 | | Stephen Fuld |
27 Apr 24 | Re: The Design of Design | 7 | | Thomas Koenig |
27 Apr 24 | Re: The Design of Design | 1 | | Stephen Fuld |
27 Apr 24 | Re: The Design of Design | 2 | | John Levine |
27 Apr 24 | Re: The Design of Design | 1 | | Thomas Koenig |
28 Apr 24 | Re: The Design of Design | 3 | | Tim Rentsch |
29 Apr 24 | Re: antitrust history, The Design of Design | 2 | | John Levine |
1 May 24 | Re: antitrust history, The Design of Design | 1 | | Tim Rentsch |
29 Apr 24 | Re: The Design of Design | 1 | | Tim Rentsch |
29 Apr 24 | Re: The Design of Design | 60 | | Tim Rentsch |
1 May 24 | Re: The Design of Design | 59 | | Stephen Fuld |
1 May 24 | Re: JCL, The Design of Design | 3 | | John Levine |
1 May 24 | Re: JCL, The Design of Design | 2 | | Stephen Fuld |
1 May 24 | Re: JCL, The Design of Design | 1 | | Stephen Fuld |
1 May 24 | Re: The Design of Design | 1 | | MitchAlsup1 |
1 May 24 | Re: The Design of Design | 1 | | Thomas Koenig |
7 May 24 | Re: The Design of Design | 53 | | Tim Rentsch |
7 May 24 | Re: The Design of Design | 45 | | Stephen Fuld |
7 May 24 | Re: The Design of Design | 1 | | Thomas Koenig |
7 May 24 | Re: The Design of Design | 33 | | Stephen Fuld |
7 May 24 | Re: The Design of Design | 29 | | Thomas Koenig |
7 May 24 | Re: The Design of Design | 28 | | Stephen Fuld |
7 May 24 | Re: interative use, The Design of Design | 25 | | John Levine |
7 May 24 | Re: interative use, The Design of Design | 4 | | MitchAlsup1 |
8 May 24 | Re: third system syndrome, interactive use, The Design of Design | 3 | | John Levine |
8 May 24 | Re: third system syndrome, interactive use, The Design of Design | 2 | | Lynn Wheeler |
9 May 24 | Re: third system syndrome, interactive use, The Design of Design | 1 | | Lynn Wheeler |
8 May 24 | Re: interative use, The Design of Design | 20 | | Stephen Fuld |
8 May 24 | Re: interative use, The Design of Design | 19 | | John Levine |
9 May 24 | Re: interative use, The Design of Design | 18 | | Stephen Fuld |
10 May 24 | Re: address architecture, not interactive use, The Design of Design | 17 | | John Levine |
10 May 24 | Re: address architecture, not interactive use, The Design of Design | 1 | | Stephen Fuld |
11 May 24 | Re: address architecture, not interactive use, The Design of Design | 15 | | Thomas Koenig |
11 May 24 | Re: address architecture, not interactive use, The Design of Design | 3 | | MitchAlsup1 |
12 May 24 | Re: address architecture, not interactive use, The Design of Design | 2 | | Thomas Koenig |
13 May 24 | Re: address architecture, not interactive use, The Design of Design | 1 | | MitchAlsup1 |
11 May 24 | Re: branch address architecture, not interactive use, The Design of Design | 11 | | John Levine |
12 May 24 | Re: branch address architecture, not interactive use, The Design of Design | 10 | | Thomas Koenig |
13 May 24 | Re: branch address architecture, not interactive use, The Design of Design | 9 | | John Levine |
13 May 24 | Re: branch address architecture, not interactive use, The Design of Design | 8 | | Thomas Koenig |
13 May 24 | Re: branch address architecture, not interactive use, The Design of Design | 7 | | John Levine |
13 May 24 | Re: branch address architecture, not interactive use, The Design of Design | 4 | | MitchAlsup1 |
14 May 24 | Re: branch address architecture, not interactive use, The Design of Design | 1 | | Thomas Koenig |
25 May 24 | Re: branch address architecture, not interactive use, The Design of Design | 1 | | Anton Ertl |
8 May 24 | Re: The Design of Design | 2 | | Thomas Koenig |
10 May 24 | Re: The Design of Design | 3 | | Tim Rentsch |
30 May 24 | Re: The Design of Design | 10 | | Tim Rentsch |
7 May 24 | Re: The Design of Design | 7 | | Thomas Koenig |