and
AND
and RT,RS,RB
and. RT,RS,RB
and. RT,RS,RB
Performs a bitwise AND operation on the contents of two registers and places the result into another register.
Details
The contents of register RS are ANDed with the contents of register RB and the result is placed into register RA.
Programming Note
Some forms of and Rx, Rx, Rx provide special functions; see Section 11.3 of Book III.
Example
and r3, r4, r5
Encoding
Binary Layout
31
0
RS
6
RA
11
RB
16
28
21
Rc
Operands
-
RA
Target Register -
RS
Source Register 1 -
RB
Source Register 2 -
RT
Target General Purpose Register