And, Andnot - Intel i960 Jx Developer's Manual

Microprocessor
Table of Contents

Advertisement

6.2.5

and, andnot

Mnemonic:
and
andnot
Format:
and
andnot
Performs a bitwise AND (
Description:
src1 values and stores result in dst. Note in the action expressions below, src2
operand comes first, so that with
{src2 and not (src1)}
rather than
{src1 and not (src2)}.
Action:
and:
dst = src2 & src1;
andnot:
dst = src2 & ~src1;
STANDARD
Faults:
Example:
and 0x7, g8, g2
andnot 0x7, r12, r9 # Copy r12 to r9 with lower
Opcode:
and
andnot
See Also:
nand, nor, not, notand, notor, or, ornot, xnor, xor
INSTRUCTION SET REFERENCE
And
And Not
src1,
src2,
reg/lit
reg/lit
src1,
src2,
reg/lit
reg/lit
) or AND NOT (
and
andnot
Refer to
# Put lower 3 bits of g8 in g2.
# three bits cleared.
581H
REG
582H
REG
dst
reg
dst
reg
) operation on src2 and
andnot
the expression is evaluated as:
section 6.1.6, "Faults" (pg.
6
6-5).
6-13

Advertisement

Table of Contents
loading

Table of Contents