Renesas M32R/ECU Series User Manual page 48

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

2
Mitsubishi
7700 and M16C families
microcomputer
family name
Endian
(bit/byte)
Address
Data arrangement
Bit number
7–0
Example:
0x01234567
Note: • The M32R family uses the big endian for both bits and bytes.
Figure 2.6.5 Endian Adopted for the M32R Family
(4) Transfer instructions
• Constant transfer
LD24
Rdest, #imm24
LDI
Rdest, #imm16
LDI
Rdest, #imm8
SETH Rdest, #imm16
• Register to register transfer
MV
Rdest, Rsrc
• Control register transfer
MVFC Rdest, CRsrc
MVTC Rsrc, CRdest
Note: • The condition bit C changes state when data is written to CR0 (PSW) using the MVTC instruction.
Figure 2.6.6 Transfer Instructions
Little/little
+0
+1
+2
+3
LL
LH
HL
HH
15–8
23–16
31–24
.byte 67,45,23,01
Little/big
+0
+1
+2
HH
HL
LH
31–24
23–16
15–8
.byte 01,23,45,67
LD24
Rdest, #imm24
imm24
b0
Rdest
SETH Rdest, #imm16
imm16
b0
Rdest
MV
Rdest, Rsrc
Rsrc
b0
Rdest
MVTC Rsrc, CRdest
Rsrc
b0
CRdest
2-11
2.6 Data Formats
M32R family
Big/big
+3
+0
+1
LL
HH
HL
7–0
0–7
8–15
16–23
.byte 01,23,45,67
b23
00
b0
8
b15
00
00
b0
15
b31
b0
b31
b0
32180 Group User's Manual (Rev.1.0)
CPU
+2
+3
LH
LL
24–31
b31
b31
b31
b31

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents