home bbs files messages ]

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

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

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

   Message 2,910 of 4,675   
   Steve to Terje Mathisen   
   Re: Converting some way to clever PL/I c   
   04 Aug 17 17:50:47   
   
   From: Bogus@Embarq.com   
      
   Hi Terje,   
      
   Terje Mathisen  writes:   
   >Hi Steve!   
   >   
   >You are of course correct that I had a typo in one of the versions,   
   >thanks for spotting that!   
      
      You are welcome.   
      
   >Re the idea to split the loop into first finding a valid input and then   
   >handling the rest, that is of course the fastest solution as long as the   
   >body of the loop isn't too complicated, i.e. like in the current case.   
   >   
   >The only real problem is that you have to look out for the additional   
   >fencepost issue, i.e. what happens if the first valid input is the last   
   >entry?   
   >   
   >You should probably do a JMP Label4 after finding that first entry,   
      
      Yes, thanks for finding that.  As I had it, it will always read an   
   extra array entry.  And that would be a real problem.  Oops...   
      
   Regards,   
      
   Steve N.   
      
   --- 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