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,351 of 4,675    |
|    Kerr-Mudd, John to R.Wieser    |
|    Re: ITOA in 65 bytes    |
|    16 May 21 20:56:36    |
      From: admin@nospicedham.127.0.0.1              On Sun, 16 May 2021 19:56:56 +0200       "R.Wieser" wrote:              > 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.              Sorry. I blame the tester (me).                            --       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