|
HD6433802H Datasheet, PDF (44/435 Pages) Hitachi Semiconductor – Single-Chip Microcomputer | |||
|
◁ |
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:16, @âRn, and @Rn+
addressing modes are available for 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.
POP
W
@SP+ â Rn
Pops a 16-bit general register from the stack. Equivalent to
MOV.W @SP+, Rn.
PUSH
W
Rn â @âSP
Pushes a 16-bit general register onto the stack. Equivalent to
MOV.W Rn, @âSP.
Notes: * Size: Operand size
B: Byte
W: Word
Certain precautions are required in data access. See 2.9.1, Notes on Data Access, for details.
26
|
▷ |