[WAND_W] Word AND operation

Description

This instruction generates word logic AND operations at the input values. All input value bits of the same significance are logically linked by AND; the result is written to the corresponding output value bit.

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# 1 1 1 1_0 0 0 0_0 0 1 1_0 0 0 1

Parameters

Parameters

Declaration

Data type

Description

Default

IN1

Input

WORD

Input value 1

16#FFFF

INn

Input

WORD

Input value "n"

16#FFFF

OUT

Output

WORD

Output value

16#FFFF