Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth > Re: The word RE...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 3959 of 4065
Post > Topic >>

Re: The word RECURSE

by <Montesquiou> Mar 23, 2008 at 03:13 PM

"Marcel Hendrix" <mhx@[EMAIL PROTECTED]
> a écrit dans le message de news: 
96001732203559@[EMAIL PROTECTED]
> <Montesquiou> writes Re: The word RECURSE
> [..]
>>> Maybe you want to define
>
>>> : cell+ 2+ ;
>>> : nfa>cfa  count $1F and  +  cell+ ;
>
>> As it is an old compiler things are different. The layout of the words
is
>
>> DEFB     N      Name Length Field
>> DEFM     "XXX"  Name Field
>> DEFW     NN     Link Field
>> DEFW     NN     Code Field
>> DEFD     Data   Parameter Field
>
>> Therefore  fetching the NLFA gives the length.
>
> I was just pointing out that
> 1. CELL+ will ease porting your ZX81 code to a 32bit or 64bit platform 
> easily,
> 2. the compiler will toggle bits in N sometimes  ( $1F AND )
> 3. "COUNT +" is shorter than "dup c@[EMAIL PROTECTED]
 1+  +".
>
> -marcel
>

Oh yes!

Interesting point.
Will be Cell

2 constant Cell
for the Z81 ?


>

>
>




 4 Posts in Topic:
Re: The word RECURSE
mhx@[EMAIL PROTECTED] (M  2008-03-23 06:55:59 
Re: The word RECURSE
<Montesquiou>   2008-03-23 15:13:43 
Re: The word RECURSE
Coos Haak <chforth@[EM  2008-03-23 17:19:28 
Re: The word RECURSE
<Montesquiou>   2008-03-23 20:24:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 6:22:35 CDT 2008.