h

h word word

The h command performs hexadecimal arithmetic on the two specified parameters.

The debugger adds, subtracts, and multiplies the two parameters; divides the second parameter by the first; and then displays the results on one line. The debugger does 32-bit multiplication and displays the result as doublewords. The debugger displays the result of division as a 16-bit quotient and a 16-bit remainder.

Parameters

word

Specifies a 16-bit word parameter.

Example

The following example performs the calculations on 300h and 100h:

h 300 100

The resulting display is the following:

+0400  -0200 *0000 0003 /0003 0000