beautypg.com

Renesas H8S/2111B User Manual

Page 65

background image

Rev. 1.00, 05/04, page 31 of 544

Table 2.3

Data Transfer Instructions

Instruction Size

*

1

Function

MOV B/W/L

(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.

MOVFPE

B

Cannot be used in this LSI.

MOVTPE

B

Cannot be used in this LSI.

POP W/L @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

PUSH W/L 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.

LDM*

2

L

@SP+

→ Rn (register list)

Pops two or more general registers from the stack.

STM*

2

L

Rn (register list)

→ @-SP

Pushes two or more general registers onto the stack.

Notes: 1. Size refers to the operand size.

B:

Byte

W:

Word

L:

Longword

2. ER7 is not used as the register that can be saved (STM)/restored (LDM) when using

STM/LDM instruction, because ER7 is the stack pointer.

This manual is related to the following products: