Redundant instruction
This is a redundant instruction. It is replaced by: NOT
Takes two's complement of 16-bit data specified by d if the trigger EN is in the ON-state. Two's complement of the original 16-bit data is stored in d.
Output
16-bit area for storing original data and its two's complement
Two’s complement is a number system used to express positive and negative numbers in binary format. In this system, the number becomes negative if the most significant bit (MSB) of data is 1. Two’s complement is obtained by inverting all bits and adding 1 to the inverted result.
This instruction is useful for inverting the sign of 16-bit data from positive to negative or from negative to positive.