View Single Post
Old 06-27-2004, 07:23 AM   #61
doctorow
Guru
doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.
 
doctorow's Avatar
 
Posts: 914
Karma: 3410461
Join Date: May 2004
Device: Kindle Touch
alex it shouldn't matter that we are working with "minus" numbers... it is simply another way of interpreting the left-most bit. The only problem we had in php was the rightshift operator, which filled empty spaces with 1's if the number was negative. That we fixed with the zerofill() function.

When we have the final result in $eax, we can use a simple function like printf() to convert it to an unsigned integer.
doctorow is offline   Reply With Quote