User's Reference > General > TCL and General User Commands > Command Reference > A > ADDX

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

ADDX (TCL) (m604806+addx.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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

RealityV15.1 (MoTW) Revision 7Comment on this topic