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,724 of 4,675   
   Benjamin David Lunt to Benjamin David Lunt   
   Re: another stricmp()   
   26 Jun 17 16:42:39   
   
   From: zfysz@nospicedham.fysnet.net   
      
   "Benjamin David Lunt"  wrote in message   
   news:ois54o$tf6$1@gioia.aioe.org...   
      
   P.S.   
      
   > See the code at the end of this post for what I have so far.   
   > Requirements:   
   >  16-bit real mode (32-bit instructions okay)   
   >  Intel x86 assembly (obviously)   
   >  ds:si->string0 (is asciiz and *not* guaranteed to be uppercase)   
   >  es:di->string1 (is asciiz and *not* guaranteed to be uppercase)   
   >  cx = length of string1 (not counting null terminator)   
   > return:   
   >   al -1 if string0 < string1 (or) string0[cx] != '\0'   
   >   al  0 if string0 = string1   
   >   al  1 if string0 > string1   
      
   The "cx = length of string1 " is not required.  Sorry, that is   
   a relic of a past project.   
      
   Sorry.   
      
   --- 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