home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.forth      Forth programmers eat a lot of Bratwurst      117,927 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 116,383 of 117,927   
   Krishna Myneni to Hans Bezemer   
   Re: DLSHIFT and DRSHIFT   
   01 Apr 24 19:56:52   
   
   From: krishna.myneni@ccreweb.org   
      
   On 4/1/24 10:18, Hans Bezemer wrote:   
   ...   
   > The only viable alternative is:   
   >   
   > : DLSHIFT  ( xd1 n -- xd2)     0 ?do d2* loop ;   
   > : DRSHIFT  ( xd1 n -- xd2)     0 ?do d2/ loop ;   
   >   
      
   DRSHIFT cannot be coded with D2/ which is an arithmetic right shift,   
   i.e. it preserves the sign bit. DRSHIFT has to pad from the left with   
   zero bits.   
      
   --   
   Krishna   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca