[Oberon] NAstrobe for RISC5 on Pepino
thomas.kral at email.cz
Tue Aug 28 11:03:30 CEST 2018
On Thu, 2 Aug 2018 18:23:56 +0930
Chris Burrows <chris at cfbsoftware.com> wrote:
> You might be thinking of the local dynamic array extension that Wirth
> implemented in his ARM compiler and we support in the Astrobe for
> Cortex-M compilers e.g.
> PROCEDURE P(s: ARRAY OF CHAR);
> local: ARRAY OF CHAR;
> NEW(local, LEN(s));
> local := s;
> The original discussion is here:
Trying to revive this topic, as I come across, this rather old
`Oberon-2 journal'. My question is, with this extension of yours,
can we go for dynamic allocation as shown here below?
That's allocating on the stack, right, and requires SF in addition to
SP, i.e. makes use of one more dedicated register?
Tomas Kral <thomas.kral at email.cz>
More information about the Oberon