en-us_products:mpino_studio2:box_functions:conversion:inv
Table of Contents
INV Box Function
Invert
Category: Conversion Box Functions
Behavior
Inverts every bit in the source WORD and stores the result. It performs the same operation as WNOT from the Conversion category.
Syntax and Arguments
Syntax: INV D0 D1
- 1st = S: source address or constant to invert
- 2nd = D: result destination address
Behavior Example
| Run condition | Before | Command entered | Expected result |
|---|---|---|---|
| Left condition ON | D0=0x0001 | INV D0 D1 | D1=0xFFFE |
Cautions
- Use the WORD data formats required by the command for the source and destination.
Box Functions in the Same Category
- NEG View details — Negate
- H2D View details — BCD Decode (Hex to Decimal)
- D2H View details — BCD Encode (Decimal to Hex)
en-us_products/mpino_studio2/box_functions/conversion/inv.txt · Last modified: by 127.0.0.1
