MOVTPE (MOVe data To Peripheral with E clock)
MOVTPE
<Description>
This instruction moves one byte of data from a source register to an absolute address location,
and sets the condition code flags according to the data value. The transfer is performed in
synchronization with the E (enable) clock used by peripheral devices. The transfer requires 9
to 16 states, so the execution time is variable. For further information on basic timing, see the
each Hardware Manuals .
This instruction should not be used with chips not having an E clock output pin or in single-
chip mode.
When the destination operand is located in on-chip memory or the on-chip register field, the
MOVTPE instruction is identical in operation to MOV.B Rs, @aa:16.
Note that only 16-bit absolute addressing can be used, and word data cannot be transferred.
<Instruction Formats>
<Operation>
synchronization with the E clock
Rs
→
(EAd)
<Assembly-Language Format>
MOVTPE
Rs, @aa:16
<Examples>
MOVTPE R2L, @H'FF8D
<Operand Size>
Byte
<Condition Code>
I: Previous value remains unchanged.
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: Cleared to "0."
C: Previous value remains unchanged.
I
H
N
Z
V
C
—
—
—
—
↕
↕
0
—
Absolute address
MOVTPE Rs, @aa:16
6
A
C
rs
abs.
13-20
Addressing
mode
Mnem.
Operands
1st byte
Instruction code
No. of
states
2nd byte
3rd byte
4th byte
89
Содержание H8/300 Series
Страница 2: ...H8 300 Programming Manual...