Next: Branch and link Up: Instructions Previous: Add Logical

And

The AND of the first and second operands is placed in the first-operand location.

Operands are treated as unstructured logical quantities, and the connective AND is applied bit by bit. A bit position in the result is set to one if the corresponding bit positions in both operands contain a one; otherwise, the result bit is set to zero.

Resulting Condition Code:
0 ~ Result is zero
1 ~ Result not zero
2 ~ -
3 ~ -

Program Exceptions:
Access (fetch, operand 2, N )
fetch and store, operand 1, NI)
Programming Note
The instruction AND may be used to set a bit to zero.

The immediate byte's position in the operand is reversed. Given a word-aligned address D, bytes will be accessed as follows:


	Address Bits 
	D	D(31:24) 
	D+1	D(23:16) 
	D+2	D(15:8) 
	D+3	D(7:0) 
\end{tabular}



Next: Branch and link Up: Instructions Previous: Add Logical


A.Daviel,TRIUMF