en-us_products:mpino_studio2:box_functions:conversion:neg
Table of Contents
NEG Box Function
Negate
Category: Conversion Box Functions
Behavior
Reverses the sign of the source value and stores the result.
Syntax and Arguments
Syntax: NEG D0 D1
- 1st = S: source address or constant to negate
- 2nd = D: result destination address
Behavior Example
Cautions
- Use the WORD data formats required by the command for the source and destination.
Box Functions in the Same Category
- INV View details — Invert
- H2D View details — BCD Decode (Hex to Decimal)
- D2H View details — BCD Encode (Decimal to Hex)
en-us_products/mpino_studio2/box_functions/conversion/neg.txt · Last modified: by 127.0.0.1
