User Tools

Site Tools


en-us_products:mpino_studio2:box_functions:conversion:neg

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

Run condition Before Command entered Expected result
Left condition ON D0=10 NEG D0 D1 D1=-10

Inputs and results for Conversion Box Functions

Cautions

  • Use the WORD data formats required by the command for the source and destination.

Box Functions in the Same Category

en-us_products/mpino_studio2/box_functions/conversion/neg.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki