include vmm.inc mov al, Number ; number to convert VMMcall Debug_Convert_Hex_Decimal mov [BinNum], eax ; binary number |
The Debug_Convert_Hex_Decimal service converts an 8-bit value to a 32-bit value representing a decimal number. The new value actually consists of eight 4-bit values, each value being in the range 0 through 9.
Number
Specifies the number to convert.
The EAX register contains the converted number.
This service is typically used in conjunction with the Trace_Out macro to display values in decimal notation.
EAX