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,350 of 4,675   
   Robert Prins to John   
   Re: ITOA in 65 bytes   
   16 May 21 21:39:13   
   
   From: robert@nospicedham.prino.org   
      
   On 2021-05-16 16:58, Kerr-Mudd, John wrote:   
   > On Sun, 16 May 2021 20:11:15 +0000   
   > Robert Prins  wrote:   
   >   
   >> On 2021-05-16 13:09, Terje Mathisen wrote:   
   >>> Robert Prins wrote:   
   >>>> On 2021-05-16 08:25, R.Wieser wrote:   
   >>>>>> Is it possible to fit the conversion of a 16 bit signed integer to   
   >>>>>> left-aligned   
   >>>>>> ASCII without leading zeroes in just 65 bytes?   
   >>>>>   
   >>>>> As no specifications have been posted, I do have some code that outputs a   
   >>>>> signed number using just 25 bytes.   
   >>>>>   
   >>>>> The trick ?    Filling the buffer backwards (putting the sign at the   
   end).   
   >>>>   
   >>>> The code is replacement code for the itoa routine in the Borland TP3   
   compiler,   
   >>>> so it has to give the same result.   
   >>>   
   >>> Why didn't you state so?   
   >>   
   >> I should have done earlier, rather than in that follow-up, apologies.   
   >>   
   >>> The key here is that this function returns a TP string, right?   
   >>   
   >> No, see the code of the current routine I also posted.   
   >   
   > Not that I've seen on this NG.   
      
   Then once again it has not gone through. I'll repost it to the direct moderator   
   address.   
      
   Robert   
   --   
   Robert AH Prins   
   robert(a)prino(d)org   
   The hitchhiking grandfather - https://prino.neocities.org/indez.html   
   Some REXX code for use on z/OS - https://prino.neocities.org/zOS/zOS-Tools.html   
      
   --- 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