include vmm.inc
mov edx, OFFSET32 String ; address of decimal string
VMMCall Convert_Decimal_String
mov [Value], eax ; decimal value of string
mov [TermChar], edx ; address of terminating character
Converts a string representing a decimal number into a value. The service also returns a pointer to the character in the string that marked the end of the decimal number. This service is only valid during initialization. Uses EAX, EDX, Flags.
If the string is empty or does not contain a valid decimal integer, the service returns zero in the EAX register and the address of the first character in the EDX register.
Convert_Boolean_String, Convert_Fixed_Point_String, Convert_Hex_String