Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion using MISC (post 1987 Forth hardware) opcodes
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Marcel Hendrix  
View profile  
 More options Jul 12 2006, 4:38 pm
Newsgroups: comp.lang.forth
From: m...@iae.nl (Marcel Hendrix)
Date: Wed, 12 Jul 2006 20:38:46 GMT
Local: Wed, Jul 12 2006 4:38 pm
Subject: Re: using MISC (post 1987 Forth hardware) opcodes
"George Hubert" <georgeahub...@yahoo.co.uk> writes Re: using MISC (post 1987 Forth hardware) opcodes
[..]

> Marcel Hendrix wrote:
[..]
>> Approximate number of return stack cells needed for ...
>> word   iForth  SwiftForth  gForth   VFX
>> ------+------------------------------------
>>  w1      2         42          1      10
>>  w2        6       49          4      21
>>  w3        7      126          2       4
>>  w4        9       75          8       8
>> ------+------------------------------------

> For W32F V6.11.09 I get
> w1    1
> w2   77
> w3   97
> w4   11
> w2 and w3 both take so many cells because they both use a local buffer
> which is on the rack. Curiously noop (which simply does next) reports 1
> cell used, even though none are! I also noticed that 2 zeroes are left
> on the stack after the testing.

The two zeroes are initializers for locals which were edited out at the
last minute -- make sure you have:

...
: TEST          0 LOCALS| lowraddr |    \ <?> TEST #<name># --> <?>
...

I got the following for V6.10.4 ...

    V6.11.09  V6.10.04

w1      1       2
w2     77       78
w3     97       83
w4     11       11

-marcel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.