Logical Product AND (and)

Syntax

and $s_reg, $d_reg

and $d_reg/$s_reg

and val_immed, $d_reg

and $s_reg1, $s_reg2, $d_reg

and $d_reg/$s_reg1, $s_reg2

and $s_reg1, val_immed, $d_reg

and $d_reg/$s_reg1, val_immed

Description

Logical Product (AND) computes the Logical AND of two values. This instruction ANDs (bit-wise) the contents of $s_reg1 with the contents of $s_reg2 or the immediate value and then puts the result in the destination register.