Re: Locals revisited

Liste des Groupes 
Sujet : Re: Locals revisited
De : no.email (at) *nospam* nospam.invalid (Paul Rubin)
Groupes : comp.lang.forth
Date : 26. Mar 2025, 20:14:19
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <87semzmwok.fsf@nightsong.com>
References : 1
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
albert@spenarnc.xs4all.nl writes:
In hindsight my locals definition is not convincing, because carnal
knowledge about the behaviour of the return stack is required.

It's ok if it's for a specific implementation.  But what I'm having
trouble seeing is how the locals get popped in case of an exception.  Do
you not need to implement something like (LOCAL) ?

(I get 30 registers in RISCV that can serve as a stack pointer.)

In some models of the RISCV, only 14, I think.  And in almost all
models, 8 of them are more efficient to address than the rest, because
of the compressed instruction format.

Date Sujet#  Auteur
25 Mar 25 * Locals revisited12albert
26 Mar 25 `* Re: Locals revisited11Paul Rubin
27 Mar 25  +* Re: Locals revisited2mhx
27 Mar 25  i`- Stacks (was: Locals revisited)1Anton Ertl
27 Mar 25  +* Re: Locals revisited4Anton Ertl
27 Mar 25  i+- Re: Locals revisited1albert
27 Mar 25  i`* Re: Locals revisited2Paul Rubin
28 Mar 25  i `- Re: Locals revisited1Anton Ertl
28 Mar 25  `* Re: Locals revisited4dxf
30 Mar 25   `* Re: Locals revisited3dxf
30 Mar 25    `* Re: Locals revisited2dxf
31 Mar 25     `- Re: Locals revisited1sjack

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal