<<< The atod Macro (ASCII to DWORD) | Index | The atod Scan >>> |
The offset of the terminating non-digit character is put in ESI.
If no input error detected,
The overflow flag OF is cleared.
Other flags are set accordingly to the result in EAX:
SF is 1 if the number is negative, and 0 otherwise.
ZF is 1 if the number is 0, and 0 if the number is nonzero.
PF reflects the parity of the number returned in EAX.
In addition, CF is 0 and DF is unchanged.
If input error is detected,
The overflow flag OF is set to 1.
EAX register contains zero.
Input error occurs if the source has no digits or is out of the range
-2,147,483,648 to 2,147,483,647
<<< The atod Macro (ASCII to DWORD) | Index | The atod Scan >>> |