Table 2.3 Data Transfer Instructions - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Table 2.3
Data Transfer Instructions
Size *
Instruction
MOV
B/W/L
MOVFPE
B
MOVTPE
B
POP
W/L
PUSH
W/L
LDM *
2
L
STM *
2
L
Notes: 1. Size refers to the operand size.
B: Byte
W: Word
L: Longword
2. Since register ER7 functions as the stack pointer in an STM/LDM instruction, it cannot
be used as an STM/LDM register.
1
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.
Cannot be used in this LSI.
Cannot be used in this LSI.
@SP+ → Rn
Pops a general register from the stack. POP.W Rn is identical to MOV.W
@SP+, Rn. POP.L ERn is identical to MOV.L @SP+, ERn
Rn → @-SP
Pushes a general register onto the stack. PUSH.W Rn is identical to
MOV.W Rn, @-SP. PUSH.L ERn is identical to MOV.L ERn, @-SP.
@SP+ → Rn (register list)
Pops two or more general registers from the stack.
Rn (register list) → @-SP
Pushes two or more general registers onto the stack.
Rev. 3.00 Jan 25, 2006 page 35 of 872
REJ09B0286-0300
Section 2 CPU

Advertisement

Table of Contents
loading

Table of Contents