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,775 of 4,675   
   wolfgang kern to All   
   Re: BASE64 again   
   01 Jul 17 09:49:45   
   
   From: nowhere@never.at   
      
   I wrote:   
   ...   
   >> Here's the 47 byte b64 decoder (that I'm trying to fixup)   
      
   > let me count:   
   > 3 Singles   100,114,118,(12e,+ 12f RET)   
   > 1 8x single 110, (80.. are only pairable if low byte with my way)   
   > 12 Pairs    108,10e,111,11b,11d,11f,121,123,125,127,129,12e   
      
   > 16 modifiers needed, shouldn't be a problem..   
      
   The AA AC wont pair well with my sub 7761 and need three bytes   
   more, either with an additional sub AX,.. or two apart SUB[ ],AH.   
   ...   
   >> 1622:0129 AA             stosb   
   >> 1622:012A AC             lodsb   
   ...   
   my modify:   
   ...   
   > 128 sub [bp+7a],ax ;ax= 7761 [07a] was 404c   
   > 12b sub [bp+74],al ;         [074] was 22   
   > 12e sub [bp+71],ax ; and so on...   
   ...   
   > 172 sub [bp+4d],al   
      
   copy paste cursed:   
   my mod for LODSB use SUB[bp+4d],AH instead of AL (23-77=AC).   
   __   
   wolfgang   
      
   --- 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