7
The 68000's Instruction Set
Destination operand addressing modes
ANDI AND immediate
Operation: [destination] ← <literal>.[destination]
Syntax: ANDI #<data>,<ea>
Attributes: Size = byte, word, longword
Description: AND the immediate data to the destination operand. The ANDI
permits a literal operand to be ANDed with a destination other
than a data register. For example, ANDI #$FE00,$1234 or
ANDI.B #$F0,(A2)+.
Condition codes: X N Z V C
- * * 0 0
Destination operand addressing modes
ANDI to CCR AND immediate to condition
code register
Operation: [CCR] ← <data>.[CCR]
Syntax: ANDI #<data>,CCR
Attributes: Size = byte
Description: AND the immediate data to the condition code register (i.e., the
least-significant byte of the status register).