2.2.37 MOVTPE
MOVTPE (MOVe To Peripheral with E clock)
Move Data with E Clock
Operation
Rs
→
(EAd)
Synchronized with E clock
Assembly-Language Format
MOVTPE
Rs, @aa:16
Operand Size
Byte
Condition Code
H: Previous value remains unchanged.
N: Set to 1 if the data value is negative;
otherwise cleared to 0.
Z: Set to 1 if the data value is zero; otherwise
cleared to 0.
V: Always cleared to 0.
C: Previous value remains unchanged.
I
UI
H
U
N
Z
V
C
—
—
—
—
↕
↕
0
—
Description
This instruction transfers the contents of a general register Rs (source operand) to a destination
location specified by a 16-bit absolute address in synchronization with an E clock, tests the
transferred data, and sets condition-code flags according to the result.
Note: Avoid using this instruction in microcontrollers not having an E clock output pin, or in
single-chip mode.
Available Registers
Rs: R0L to R7L, R0H to R7H
Operand Format and Number of States Required for Execution
Notes
1.
This instruction cannot be used with addressing modes other than the above, and cannot
transfer word data or longword data.
2.
Data transfer by this instruction requires 9 to 16 states, so the execution time is variable. For
details, refer to the relevant microcontroller hardware manual.
Instruction Format
1st byte
2nd byte
3rd byte
4th byte
Absolute MOVTPE
Rs,
@aa:16
6
A
C
rs
abs
*
address
No. of
States
Addressing
Mode
Mnemonic
Operands
127