ADDX

Adds two hexadecimal numbers.

Command Class

TCL-I command.

Syntax

ADDX n m

Syntax Elements

n Specifies a hexadecimal number.

m Specifies a hexadecimal number to be added to n.

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

To add two positive hexadecimal numbers:

:ADDX 7E4A A00
884A