DIVX

Divides one hexadecimal number by another.

Command Class

TCL-I command.

Syntax

DIVX n m

Syntax Elements

n is a hexadecimal number; the dividend.

m is a hexadecimal number; the divisor.

Results

The result of the division is displayed on the line immediately below the command. This comprises the quotient (on the left) and the remainder (on the right).

Negative Numbers

Hexadecimal numbers are considered negative when they are in the range from X'FFFFFFFFFFFF'(-1) to X'800000000001'(-140,737,488,355,327).

Largest Numbers

The largest hex numbers that this process handles are:

7FFFFFFFFFFF (+140,737,488,355,327)
800000000001 (-140,737,488,355,327)

Example

:DIVX FFF EE
      11  31