4/17/98 6-47 Addressing Modes and Data Types
AND Logical AND
Syntax: AND dest, src
Operation: dest <- dest AND src
Description: Bitwise logical AND the contents of the source to the destination. The byte or word
specified by the source operand is logically ANDed to the variable specified by the destination
operand. The source data is not affected by the operation.
Size: Byte-Byte, Word-Word
Flags Updated: N, Z
AND Rd, Rs
Bytes: 2
Clocks: 3
Operation: (Rd) <-- (Rd) • (Rs)
Encoding:
AND Rd, [Rs]
Bytes: 2
Clocks: 4
Operation: (Rd) <-- (Rd) • ((WS:Rs))
Encoding:
AND [Rd], Rs
Bytes: 2
Clocks: 4
Operation: ((WS:Rd)) <-- ((WS:Rd)) • (Rs)
Encoding:
0 1 0 1 SZ 0 0 1 d d d d s s s s
0 1 0 1 SZ 0 1 0 d d d d 0 s s s
0 1 0 1 SZ 0 1 0 s s s s 1 d d d