Table of Contents

Advertisement

2.2.37 MOVTPE

MOVTPE (MOVe To Peripheral with E clock)
Operation
Rs → (EAd)
Synchronized with E clock
Assembly-Language Format
MOVTPE Rs, @aa:16
Operand Size
Byte
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
Addressing
Mnemonic
Mode
Absolute
MOVTPE
address
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.
Operands
1st byte
Rs, @aa:16
6
A
127
Move Data with E Clock
Condition Code
I
UI H
U
— — — —
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.
Instruction Format
2nd byte
3rd byte
C
rs
N
Z
V
C
0
No. of
States
4th byte
abs
*

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents