F68_XNR

Redundant instruction

NOTE

This is a redundant instruction. It is replaced by: XOR

Executes exclusive NOR operation of each bit in 16-bit equivalent constant or 16-bit data specified by s1 and s2 if the trigger EN is in the ON-state. The exclusive NOR operation result is stored in the 16-bit area specified by d. When 16-bit equivalent constant is specified by s1 or s2, the exclusive NOR operation is performed internally converting it to 16-bit binary expression. You can use this instruction to review the number of identical bits in the two 16-bit data.

Parameters

Input

s1, s2 (WORD, INT, UINT)

16-bit area or 16-bit equivalent constant to be compared

Output

d (WORD, INT, UINT)

16-bit area for storing NOR operation result

Remarks

The variables s1, s2 and d have to be of the same data type.

  1. Bit position

  2. start: ON

Related topics:

Modified on: 2019-01-24Feedback on this pagePanasonic hotline