Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

19 May, 2024: Line wrapping has been changed to be more consistent with Usenet standards.
 If you find that it is broken please let me know here rocksolid.nodes.help


devel / comp.lang.forth / Multiplicate a variable by number with (not) moving the stack

SubjectAuthor
* Multiplicate a variable by number with (not) moving the stackpascal dagornet
+- Re: Multiplicate a variable by number with (not) moving the stackMarcel Hendrix
+- Re: Multiplicate a variable by number with (not) moving the stackjan Coombs
`* Re: Multiplicate a variable by number with (not) moving the stackminforth
 +* Re: Multiplicate a variable by number with (not) moving the stackdxforth
 |`* Re: Multiplicate a variable by number with (not) moving the stackpascal dagornet
 | `- Re: Multiplicate a variable by number with (not) moving the stackAnton Ertl
 `- Re: Multiplicate a variable by number with (not) moving the stackpascal dagornet

1
Multiplicate a variable by number with (not) moving the stack

<bb450240-25bb-4e02-b75b-1a4533ec4e31n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=23616&group=comp.lang.forth#23616

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ac8:5a55:0:b0:3f5:e8f:47b2 with SMTP id o21-20020ac85a55000000b003f50e8f47b2mr4584960qta.11.1684828008607;
Tue, 23 May 2023 00:46:48 -0700 (PDT)
X-Received: by 2002:a05:620a:2915:b0:759:513c:d117 with SMTP id
m21-20020a05620a291500b00759513cd117mr3774353qkp.11.1684828008435; Tue, 23
May 2023 00:46:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Tue, 23 May 2023 00:46:48 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2003:c5:9f11:200:7c79:a2ee:9f83:94ef;
posting-account=_58xdgoAAAAq0MnG6ve7Kr1WWCUMiOlD
NNTP-Posting-Host: 2003:c5:9f11:200:7c79:a2ee:9f83:94ef
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bb450240-25bb-4e02-b75b-1a4533ec4e31n@googlegroups.com>
Subject: Multiplicate a variable by number with (not) moving the stack
From: pascaldagornet@gmail.com (pascal dagornet)
Injection-Date: Tue, 23 May 2023 07:46:48 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1722
 by: pascal dagornet - Tue, 23 May 2023 07:46 UTC

Hello,
I am starting FORTH for a small non commercial project and perhaps somebody here could support a bit?

For multiplication by 2 of a variable R, I made

R F@
2.0e
F*
R F!

Is there any method to not make moving the stack?

Word "F2*" would multiplicate the value of R by 2 direct in address..
-> "R F2*"

Or Word "FX*" would multiplicate the value of R by X direct in address.. (in this case the stack would move only by 1 level which would be ok for me)
-> "1.234e FX* R"

Any advice / hint how to design the words F2* or FX* is welcome.

Regards.

Re: Multiplicate a variable by number with (not) moving the stack

<1300452b-247b-429d-9a01-afb0f6f8f7ecn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=23617&group=comp.lang.forth#23617

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ac8:584c:0:b0:3f4:f0fd:fe60 with SMTP id h12-20020ac8584c000000b003f4f0fdfe60mr4153496qth.3.1684837040610;
Tue, 23 May 2023 03:17:20 -0700 (PDT)
X-Received: by 2002:a05:6214:14a3:b0:623:8cfa:b570 with SMTP id
bo3-20020a05621414a300b006238cfab570mr2319216qvb.9.1684837040369; Tue, 23 May
2023 03:17:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Tue, 23 May 2023 03:17:20 -0700 (PDT)
In-Reply-To: <bb450240-25bb-4e02-b75b-1a4533ec4e31n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=165.225.12.154; posting-account=-JQ2RQoAAAB6B5tcBTSdvOqrD1HpT_Rk
NNTP-Posting-Host: 165.225.12.154
References: <bb450240-25bb-4e02-b75b-1a4533ec4e31n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1300452b-247b-429d-9a01-afb0f6f8f7ecn@googlegroups.com>
Subject: Re: Multiplicate a variable by number with (not) moving the stack
From: mhx@iae.nl (Marcel Hendrix)
Injection-Date: Tue, 23 May 2023 10:17:20 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1437
 by: Marcel Hendrix - Tue, 23 May 2023 10:17 UTC

On Tuesday, May 23, 2023 at 9:46:49 AM UTC+2, pascal dagornet wrote:
> For multiplication by 2 of a variable R, I made
>
> R F@
> 2.0e
> F*
> R F!
>
> Is there any method to not make moving the stack?

fdup f+

-marcel

Re: Multiplicate a variable by number with (not) moving the stack

<20230523115530.5a11d4fa@t530>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=23618&group=comp.lang.forth#23618

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jan4comp.lang.forth@murray-microft.co.uk (jan Coombs)
Newsgroups: comp.lang.forth
Subject: Re: Multiplicate a variable by number with (not) moving the stack
Date: Tue, 23 May 2023 11:55:30 +0100
Organization: A noiseless patient Spider
Lines: 48
Message-ID: <20230523115530.5a11d4fa@t530>
References: <bb450240-25bb-4e02-b75b-1a4533ec4e31n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="c8b72bd838e1a79227b73c92542be389";
logging-data="2662104"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181/1Z4UKtgF6XJIzgKmzFTI5FcFtDM1og="
Cancel-Lock: sha1:KRgndRvDXnwcQQ2aZRZMtSZP4qQ=
X-Newsreader: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: jan Coombs - Tue, 23 May 2023 10:55 UTC

On Tue, 23 May 2023 00:46:48 -0700 (PDT)
pascal dagornet <pascaldagornet@gmail.com> wrote:

> Hello,
> I am starting FORTH for a small non commercial project and perhaps somebody here could support a bit?
>
> For multiplication by 2 of a variable R, I made
>
> R F@
> 2.0e
> F*
> R F!
>
> Is there any method to not make moving the stack?

$ gforth
Gforth 0.7.3, Copyright (C) 1995-2008 Free Software Foundation, Inc.
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `bye' to exit

0x10000000000000 constant Flt64b_ExpLSBmask

: InMemF2* ( addr -- ) \ mutiply float at addr by two
\ Note: 64b IEE-754 float format
\ Subnormals not handled
\ Float length is same as integer
dup @ Flt64b_ExpLSBmask + swap ! ;

variable f01 ok
variable f02 ok

: test_InMemF2* ( -- ) ( F f -- ) \
fdup f01 f! f02 f! f02 InMemF2* cr f01 f@ f. f02 f@ f. ;

5e0 test_InMemF2*
5. 10. ok

123.125e0 test_InMemF2*
123.125 246.25 ok

Jan Coombs
--

Re: Multiplicate a variable by number with (not) moving the stack

<2c3fd315-19e2-4272-9d70-1706e478c0e6n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=23620&group=comp.lang.forth#23620

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ac8:5848:0:b0:3f6:bc1e:2da8 with SMTP id h8-20020ac85848000000b003f6bc1e2da8mr900373qth.0.1684877202134;
Tue, 23 May 2023 14:26:42 -0700 (PDT)
X-Received: by 2002:a05:620a:4410:b0:74a:cb51:c508 with SMTP id
v16-20020a05620a441000b0074acb51c508mr5103259qkp.12.1684877201919; Tue, 23
May 2023 14:26:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Tue, 23 May 2023 14:26:41 -0700 (PDT)
In-Reply-To: <bb450240-25bb-4e02-b75b-1a4533ec4e31n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.34.176.205; posting-account=AqNUYgoAAADmkK2pN-RKms8sww57W0Iw
NNTP-Posting-Host: 80.34.176.205
References: <bb450240-25bb-4e02-b75b-1a4533ec4e31n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2c3fd315-19e2-4272-9d70-1706e478c0e6n@googlegroups.com>
Subject: Re: Multiplicate a variable by number with (not) moving the stack
From: minforth@arcor.de (minforth)
Injection-Date: Tue, 23 May 2023 21:26:42 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1962
 by: minforth - Tue, 23 May 2023 21:26 UTC

pascal dagornet schrieb am Dienstag, 23. Mai 2023 um 09:46:49 UTC+2:
> Hello,
> I am starting FORTH for a small non commercial project and perhaps somebody here could support a bit?
>
> For multiplication by 2 of a variable R, I made
>
> R F@
> 2.0e
> F*
> R F!
>
> Is there any method to not make moving the stack?
>
> Word "F2*" would multiplicate the value of R by 2 direct in address..
> -> "R F2*"
>
> Or Word "FX*" would multiplicate the value of R by X direct in address.. (in this case the stack would move only by 1 level which would be ok for me)
> -> "1.234e FX* R"
>
> Any advice / hint how to design the words F2* or FX* is welcome.
>

Why is it necessary to not move the stack?

Somewhat simpler: make F an FVALUE instead of an FVARIABLE, then do
F +TO F

Re: Multiplicate a variable by number with (not) moving the stack

<u4jnu4$2nphr$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=23621&group=comp.lang.forth#23621

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dxforth@gmail.com (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: Multiplicate a variable by number with (not) moving the stack
Date: Wed, 24 May 2023 11:06:13 +1000
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <u4jnu4$2nphr$1@dont-email.me>
References: <bb450240-25bb-4e02-b75b-1a4533ec4e31n@googlegroups.com>
<2c3fd315-19e2-4272-9d70-1706e478c0e6n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 24 May 2023 01:06:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0519ab4590e7eba7a05fa457faeb34e2";
logging-data="2876987"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9oeMsXzIeLlHOS1bksM5p"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.10.1
Cancel-Lock: sha1:jRR2iI5S24iai56vZQ60hVS8+yQ=
In-Reply-To: <2c3fd315-19e2-4272-9d70-1706e478c0e6n@googlegroups.com>
Content-Language: en-GB
 by: dxforth - Wed, 24 May 2023 01:06 UTC

On 24/05/2023 7:26 am, minforth wrote:
> pascal dagornet schrieb am Dienstag, 23. Mai 2023 um 09:46:49 UTC+2:
>> Hello,
>> I am starting FORTH for a small non commercial project and perhaps somebody here could support a bit?
>>
>> For multiplication by 2 of a variable R, I made
>>
>> R F@
>> 2.0e
>> F*
>> R F!
>>
>> Is there any method to not make moving the stack?
>>
>> Word "F2*" would multiplicate the value of R by 2 direct in address..
>> -> "R F2*"
>>
>> Or Word "FX*" would multiplicate the value of R by X direct in address.. (in this case the stack would move only by 1 level which would be ok for me)
>> -> "1.234e FX* R"
>>
>> Any advice / hint how to design the words F2* or FX* is welcome.
>>
>
> Why is it necessary to not move the stack?

If eliminating stack juggling was good, it follows eliminating the stack
is better. Locals users should understand this better than anyone.

Re: Multiplicate a variable by number with (not) moving the stack

<ee78de82-8a10-4a94-9611-fd94021f89b4n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=23625&group=comp.lang.forth#23625

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ac8:7e83:0:b0:3f5:4aaf:80af with SMTP id w3-20020ac87e83000000b003f54aaf80afmr5453007qtj.12.1684909831806;
Tue, 23 May 2023 23:30:31 -0700 (PDT)
X-Received: by 2002:a05:622a:1a05:b0:3f5:475e:622 with SMTP id
f5-20020a05622a1a0500b003f5475e0622mr5507455qtb.10.1684909831571; Tue, 23 May
2023 23:30:31 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Tue, 23 May 2023 23:30:31 -0700 (PDT)
In-Reply-To: <u4jnu4$2nphr$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:c5:9f11:200:6216:3d58:36e6:4394;
posting-account=_58xdgoAAAAq0MnG6ve7Kr1WWCUMiOlD
NNTP-Posting-Host: 2003:c5:9f11:200:6216:3d58:36e6:4394
References: <bb450240-25bb-4e02-b75b-1a4533ec4e31n@googlegroups.com>
<2c3fd315-19e2-4272-9d70-1706e478c0e6n@googlegroups.com> <u4jnu4$2nphr$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ee78de82-8a10-4a94-9611-fd94021f89b4n@googlegroups.com>
Subject: Re: Multiplicate a variable by number with (not) moving the stack
From: pascaldagornet@gmail.com (pascal dagornet)
Injection-Date: Wed, 24 May 2023 06:30:31 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3094
 by: pascal dagornet - Wed, 24 May 2023 06:30 UTC

dxforth schrieb am Mittwoch, 24. Mai 2023 um 03:08:14 UTC+2:
> On 24/05/2023 7:26 am, minforth wrote:
> > pascal dagornet schrieb am Dienstag, 23. Mai 2023 um 09:46:49 UTC+2:
> >> Hello,
> >> I am starting FORTH for a small non commercial project and perhaps somebody here could support a bit?
> >>
> >> For multiplication by 2 of a variable R, I made
> >>
> >> R F@
> >> 2.0e
> >> F*
> >> R F!
> >>
> >> Is there any method to not make moving the stack?
> >>
> >> Word "F2*" would multiplicate the value of R by 2 direct in address..
> >> -> "R F2*"
> >>
> >> Or Word "FX*" would multiplicate the value of R by X direct in address.. (in this case the stack would move only by 1 level which would be ok for me)
> >> -> "1.234e FX* R"
> >>
> >> Any advice / hint how to design the words F2* or FX* is welcome.
> >>
> >
> > Why is it necessary to not move the stack?
> If eliminating stack juggling was good, it follows eliminating the stack
> is better. Locals users should understand this better than anyone.

>>>> "Why is it necessary to not move the stack?"

I am making (what I call) an adapter:
- for programming FORTH for HP71B ( https://en.wikipedia.org/wiki/HP-71B ) under a gforth environment in emacs on a PC
- since the FORTH for the HP71B has a fixed stack of 4, then programming on the PC should reflects this (I know, thats weird)

Why using a PC for programming an HP71B?
a) writing/debugging FORTH in HP71B directly is terrible (1 line display)
b) writing programs under emacs and gforth on a PC is a good feeling
... when the programms are working in gforth/emacs, then a quick check will be done in the HP71B emulator in the PC then the program can be transferred to a real HP71B via HP-IL interface (PC interface supported via a pillbox)

Re: Multiplicate a variable by number with (not) moving the stack

<2023May24.095145@mips.complang.tuwien.ac.at>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=23628&group=comp.lang.forth#23628

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: Multiplicate a variable by number with (not) moving the stack
Date: Wed, 24 May 2023 07:51:45 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 24
Message-ID: <2023May24.095145@mips.complang.tuwien.ac.at>
References: <bb450240-25bb-4e02-b75b-1a4533ec4e31n@googlegroups.com> <2c3fd315-19e2-4272-9d70-1706e478c0e6n@googlegroups.com> <u4jnu4$2nphr$1@dont-email.me> <ee78de82-8a10-4a94-9611-fd94021f89b4n@googlegroups.com>
Injection-Info: dont-email.me; posting-host="4070307bcdea00f5947902e52090d522";
logging-data="3074032"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+tJynzuXVXm357eq/Rptrn"
Cancel-Lock: sha1:iJgzliqHM7VSJPaOgwtLhX5FUqw=
X-newsreader: xrn 10.11
 by: Anton Ertl - Wed, 24 May 2023 07:51 UTC

pascal dagornet <pascaldagornet@gmail.com> writes:
>- for programming FORTH for HP71B ( https://en.wikipedia.org/wiki/HP-71B ) under a gforth environment in emacs on a PC
>- since the FORTH for the HP71B has a fixed stack of 4, then programming on the PC should reflects this (I know, thats weird)

Even Chuck Moore, who is more minimalist than most, never went below 6
stack items in his hardware, and he uses the registers A and R in
addition, which probably help reduce the needed stack depth.

<https://en.wikipedia.org/wiki/RPL_(programming_language)> says:
|Contrary to previous HP RPN calculators, which had a fixed four-level
|stack, the stack used by RPL is only limited by available calculator
|RAM.

Googling for "RPL HP-71B" gives some hits (which I have not really
dived into), including a youtube video titled "HP 71B -
FORTH/Assembler ROM from 1984 - YouTube"
<https://www.youtube.com/watch?v=0gjdUPmwBbs>.

- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: https://forth-standard.org/
EuroForth 2022: https://euro.theforth.net

Re: Multiplicate a variable by number with (not) moving the stack

<fbb48ace-1fe1-440d-95d2-8863f548be7cn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=23638&group=comp.lang.forth#23638

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:199f:b0:75b:3962:8dc6 with SMTP id bm31-20020a05620a199f00b0075b39628dc6mr543171qkb.1.1684922193420;
Wed, 24 May 2023 02:56:33 -0700 (PDT)
X-Received: by 2002:ad4:4b71:0:b0:625:aa48:ddff with SMTP id
m17-20020ad44b71000000b00625aa48ddffmr189162qvx.12.1684922193201; Wed, 24 May
2023 02:56:33 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 24 May 2023 02:56:32 -0700 (PDT)
In-Reply-To: <2c3fd315-19e2-4272-9d70-1706e478c0e6n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:c5:9f11:200:6216:3d58:36e6:4394;
posting-account=_58xdgoAAAAq0MnG6ve7Kr1WWCUMiOlD
NNTP-Posting-Host: 2003:c5:9f11:200:6216:3d58:36e6:4394
References: <bb450240-25bb-4e02-b75b-1a4533ec4e31n@googlegroups.com> <2c3fd315-19e2-4272-9d70-1706e478c0e6n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fbb48ace-1fe1-440d-95d2-8863f548be7cn@googlegroups.com>
Subject: Re: Multiplicate a variable by number with (not) moving the stack
From: pascaldagornet@gmail.com (pascal dagornet)
Injection-Date: Wed, 24 May 2023 09:56:33 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2392
 by: pascal dagornet - Wed, 24 May 2023 09:56 UTC

minforth schrieb am Dienstag, 23. Mai 2023 um 23:26:43 UTC+2:
> pascal dagornet schrieb am Dienstag, 23. Mai 2023 um 09:46:49 UTC+2:
> > Hello,
> > I am starting FORTH for a small non commercial project and perhaps somebody here could support a bit?
> >
> > For multiplication by 2 of a variable R, I made
> >
> > R F@
> > 2.0e
> > F*
> > R F!
> >
> > Is there any method to not make moving the stack?
> >
> > Word "F2*" would multiplicate the value of R by 2 direct in address..
> > -> "R F2*"
> >
> > Or Word "FX*" would multiplicate the value of R by X direct in address.. (in this case the stack would move only by 1 level which would be ok for me)
> > -> "1.234e FX* R"
> >
> > Any advice / hint how to design the words F2* or FX* is welcome.
> >
> Why is it necessary to not move the stack?
>
> Somewhat simpler: make F an FVALUE instead of an FVARIABLE, then do
> F +TO F
My setup is:
a) working in GFORTH (+TO is there; I could not see FVALUE)
b) Move the code to another FORTH (FVALUE and +TO not there)
So, I should know how to make FVALUE and "TO from scratch.


devel / comp.lang.forth / Multiplicate a variable by number with (not) moving the stack

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor