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,349 of 4,675   
   R.Wieser to All   
   Re: ITOA in 65 bytes   
   16 May 21 19:56:56   
   
   From: address@nospicedham.not.available   
      
   Robert,   
      
   > No, see the code of the current routine I also posted.   
      
   Missing : the current routine.   
      
   > For what it's worth, -32768 is problematic for all routines posted, it   
   > doesn't change sign when negated!   
      
   :-)  You forgot that after the sign change part you have an unsigned value.   
   And in that mode 0x8000 is decimally represented as 32768.  The initial code   
   Terje posted, with its "xor dx,dx" (instead of the later, shorter "cwd"),   
   does the job as expected.   
      
   Still also missing : a description of what the TP6 output should look like.   
      
   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