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 3,320 of 4,675   
   Kerr-Mudd,John to All   
   Re: Hex 2 Bin   
   25 Mar 18 19:56:33   
   
   From: notsaying@nospicedham.invalid.org   
      
   On Fri, 23 Mar 2018 09:52:37 GMT, "wolfgang kern"    
   wrote:   
      
   > Kerr-Mudd,John posted "at the very same time":   
   > []   
   Spooky!   
   []   
   >> Sorry to be so slow; 8 bytes:   
   >   
   >> cmp al'0'   
   >> jb gnc       ; skip space, cr, lf   
   >> and al,0x4F  ; drop numeric '3' prefix, lcase->ucase   
   >> aam 0x37     ; add 9 sub 0x40 iff alpha   
   >   
   > mmh, I always avoid AA.. but it may become handy sometimes :)   
      
   Some tricks here:   
   http://www.hugi.scene.org/online/coding/hugi%2017%20-%20coaax.htm   
      
      
      
   --   
   Bah, and indeed, Humbug.   
      
   --- 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