"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 ?
>
>
>