[retroforth] Re: Request for Linux specific words

  • From: Ton ´t Lam <ton.tlam@xxxxxxxxx>
  • To: retroforth@xxxxxxxxxxxxx
  • Date: Fri, 21 Jan 2005 09:10:22 +0100

Charles Childers wrote:

>>code 'return',return
>>        upop ebx
>>        mov eax, 1
>>        int 80h
>>;
>>
>>It is in my rf now :-)
>>
>>: bye 0 return ;
>>    
>>
>
>I'd have done:
>
>: return 1 1 syscall ; 
>
>But that's just because I prefer using Forth to assembly. You could go
>even further:
>
>: bye 0 : return 1 1 syscall ;
>
>Saving a few bytes and making use of multiple entry points.
>  
>
It never crossed my mind to have multiple entry points. :-)

-- Ton

Other related posts: