
CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS
6.81XCHW (eXCHange Word Data Accumulator and Program Counter)
Exchange the word data of PC for that of A.
■XCHW (eXCHange Word Data Accumulator and Program Counter)
Operation
(PC) ← (A) (word transfer)
(A) ← (PC) +1 (word addition, word transfer)
Assembler format
XCHW A, PC
Condition code (CCR)
N | Z | V | C |
|
|
|
|
- | - | - | - |
|
|
|
|
+: Changed by executing instruction
N:Not changed
Z:Not changed
V:Not changed
C:Not changed
Number of execution cycles: 3
Byte count: 1
OP code: F4
208