Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Debug_Convert_Hex_Decimal
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
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.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
Number     Specifies the number to convert.
 
Return Value
 
The EAX register contains the converted number.
 
Comments
 
This service is typically used in conjunction with the Trace_Out macro to
display values in decimal notation.
 
Uses
 
EAX
 
See Also
 
Debug_Convert_Hex_Binary, Trace_Out