Hardware manual
Rev. 3.0, 09/98, page 30 of 361
2.5.1 Data Transfer Instructions
Table 2.4 describes the data transfer instructions. Figure 2.5 shows their object code formats.
Table 2.4 Data Transfer Instructions
Instruction Size
*
Function
MOV B/W (EAs) → Rd, Rs → (EAd)
Moves data between two general registers or between a general register
and memory, or moves immediate data to a general register.
The Rn, @Rn, @(d:16, Rn), @aa:16, #xx:8 or #xx:16, @−Rn, and @Rn+
addressing modes are available for byte or word data. The @aa:8
addressing mode is available for byte data only.
The @−R7 and @R7+ modes require word operands. Do not specify
byte size for these two modes.
MOVTPE B Not supported by the H8/338 Series.
MOVFPE B Not supported by the H8/338 Series.
PUSH WRn → @−SP
Pushes a 16-bit general register onto the stack. Equivalent to MOV.W
Rn, @−SP.
POP W @SP+ → Rn
Pops a 16-bit general register from the stack. Equivalent to MOV.W
@SP+, Rn.
Note: Size: operand size
B: Byte
W: Word