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.
|