Data Transfer Instructions - Hitachi H8/3152 Hardware Manual

Single-chip microcomputer h8/3150 series
Table of Contents

Advertisement

2.5.1

Data Transfer Instructions

Table 2.4 describes the data transfer instructions.
Table 2.4
Data Transfer Instructions
Instruction
Size*
MOV
B/W
POP
W
PUSH
W
Note: * Size: Operand size
B: Byte
W: Word
24
Function
(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:16, @–Rn, and @Rn+
addressing modes are available for byte or word data. The #xx:8
and @aa:8 addressing modes are available for byte data only.
Specify word-size operands for @–R7 and @R7+.
@SP+ → Rn
Pops a 16-bit general register from the stack. Identical to MOV.W
@SP+, Rn.
Rn → @–SP
Pushes a 16-bit general register onto the stack. Identical to MOV.W
Rn, @–SP.

Advertisement

Table of Contents
loading

Table of Contents