From: notsaying@nospicedham.invalid.org   
      
   On Wed, 01 May 2019 08:02:45 GMT, wolfgang kern   
    wrote:   
      
   > On 29.04.2019 23:01, Kerr-Mudd,John wrote:   
   > ...   
   >   
   >>> B00A89 OR [BP+SI],89   
   >>> F75651 NOT[BP+51]   
   >> mov al,0x0D   
   > 0x0A ?   
      
   oops!   
   >> mov di,si   
   >> push si   
   >> push cx   
   >   
   > I see now, my worn eyes read 80 instead of B0 here.   
   >   
   >> enough clues for now!   
   >   
   >:)   
   > what I think it's supposed to work on a text list within a given file ?   
      
   Ah sorry, I should have made that more explicit: It's to remove/display   
   duplicate lines from a sorted file.   
      
      
   > ...   
   >>> 80FC80 cmp AH,80   
   >>> 741A jz +1a   
   >   
   > perhaps also here possible ? OR AH,AH JS +1a   
      
   Yes.   
   > __   
   > wolfgang   
   >   
   >   
      
   I've reordered it and changed it to print just the *last* duplicate now.   
   (and some edge cases corrected for!)   
   (140 bytes)   
      
   BD0A8D31DBBA0A0D89D6B90080B43FCD2191E377813E82002F6474019855B00A   
   89F75651F2AE754FB0204E463834742F380474F7F3AEE33F4F41383474213804   
   74E8A6E1F5E32008E47803742098595E87FDA43814E0FBA449742687FDEBBFF3   
   AEE3044FA775E008E47502B401595FB00AF2AE89FEEBA7595E87FD08E47402F2   
   A4435A89F929D1B440CD21C3   
      
   I could put up the source code; but where's the fun in that?   
      
      
   --   
   Bah, and indeed, Humbug.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|