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 4,343 of 4,675   
   R.Wieser to All   
   Re: ITOA in 65 bytes   
   16 May 21 14:35:29   
   
   From: address@nospicedham.not.available   
      
   Robert,   
      
   > The code is replacement code for the itoa routine in the Borland TP3   
   > compiler, so it has to give the same result.   
      
   I took my clues from the code Terje posted, which seemed to indicate that   
   anything goes (not actually outputting anything, non-terminated string,   
   inline). :-)   
      
   And alas, as I'm using an assembler that doesn't tell me anything ...   
      
   Should the sign be on the left   
   Should only the negative sign be displayed or both.   
      Should the positive sign be replaced by a space   
   Should the string be put into a buffer   
      Should it than be either zero or "$' terminated   
      Should the string-end position be returned and if so in which register   
   Should it be send to STDOUT   
   Should it be a function or in-line   
   ... any other relevant specs I've not mentioned   
      
   Regards,   
   Rudy Wieser   
      
   --- 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