Computer and Software Support


Debug: H (Hexadecimal)

Page updated January 21, 2005

 

Performs hexadecimal arithmetic on two parameters that you specify.

 
Syntax
h Value1Value2
Parameters
Value1
Required. Represents any hexadecimal number in the range 0 through FFFFh.
Value2
Required. Represents a second hexadecimal number in the range 0 through FFFFh.
?
Displays a list of debug subcommands.
Remarks
  • Windows XP and the Windows Server 2003 family of products do not use this command. It is included only to preserve compatibility with existing MS-DOS files, but it has no effect at the command line because the functionality is automatic.
  • Debug.exe adds the two parameters you specify and then subtracts the second parameter from the first. The results of these calculations are displayed on one line: first the sum, and then the difference.
Examples
Type:

h19f 10a

Debug.exe performs the calculations and displays the following result:

02A9 0095

Formatting legend

Format Meaning
Italic Information that the user must supply
Bold Elements that the user must type exactly as shown
Ellipsis (...) Parameter that can be repeated several times in a command line
Between brackets ([]) Optional items
Between braces ({}); choices separated by pipe (|). Example: {even|odd} Set of choices from which the user must choose only one
Courier font Code or program output

Some of these terms may be the same or similar to DOS commands. For information on DOS Commands, click here