
CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS
6.6ANDW (AND Word Data of Accumulator and Temporary Accumulator to Accumulator)
Carry out the logical AND on the word data of A and T for every bit and return the results to A.
■ANDW (AND Word Data of Accumulator and Temporary Accumulator to Accumulator)
Operation
(A) ← (A) ^ (T) (Word AND)
Assembler format
ANDW A
Condition code (CCR)
N | Z | V | C |
|
|
|
|
+ | + | R | - |
|
|
|
|
+: Changed by executing instruction
R: Set to 0 by executing instruction
N:Set to 1 if the MSB of A is 1 as the result of operation and set to 0 in other cases.
Z:Set to 1 if the result of operation is 0000H and set to 0 in other cases.
V:Always set to 0
C:Not changed
Number of execution cycle: 1
Byte count: 1
OP code: 63
58