
CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS
6.46 MOVW (MOVE Word Data from Memory to Accumulator)
Transfer word data from EA and EA + 1 memories (EA is an address expressed in each type of addressing) to A. Word data in A is transferred to T.
■MOVW (MOVE Word Data from Memory to Accumulator)
Operation
(A) ← (EA) (Word transfer)
Assembler format
MOVW A, EA
Condition code (CCR)
N | Z | V | C |
|
|
|
|
+ | + | - | - |
|
|
|
|
+: Changed by executing instruction
N:Set to 1 if MSB of transferred data is 1 and set to 0 in other cases.
Z:Set to 1 if transferred data is 0000H and set to 0 in other cases.
V:Not changed
C:Not changed
Table 6.46-1 Number of Execution Cycles / Byte Count / OP Code
EA | #d16 | dir | @IX+off | ext | @A | @EP | |
|
|
|
|
|
|
| |
Number of | 3 | 4 | 4 | 5 | 3 | 3 | |
execution cycles | |||||||
|
|
|
|
|
| ||
|
|
|
|
|
|
| |
Byte count | 3 | 2 | 2 | 3 | 1 | 1 | |
|
|
|
|
|
|
| |
OP code | E4 | C5 | C6 | C4 | 93 | C7 | |
|
|
|
|
|
|
|
138