[WXOR_W] Word exclusive-OR operation

Description

This instruction generates word logic exclusive-OR operations at the input values. All input value bits of the same significance are logically linked by exclusive-OR; the result is written to the corresponding output value bit. The bit is 0 if all input value bits of the same significance have the same value. Otherwise, the bit is 1.

The number of IN input parameters can be changed.

Example (two inputs)

IN1

2# 1 1 1 1_0 0 0 0_1 1 1 1_1 1 0 1

IN2

2# 1 1 1 1_0 0 0 0_0 0 1 1_0 0 1 1

OUT

2# 0 0 0 0_0 0 0 0_1 1 0 0_1 1 1 0

Parameters

Parameters

Declaration

Data type

Description

Default

IN1

Input

WORD

Input value 1

0

INn

Input

WORD

Input value "n"

0

OUT

Output

WORD

Output value

0