
2-10
CPU
Am/An
0
31
PC
0
31
0
31
0
31
(32-bit address)
0
31
(32-bit address)
0
31
(32-bit address)
0
31
(32-bit address)
0
31
Register direct
Immediate value
Dm / Dn
Am / An
imm8 / regs
imm16
imm32
imm40
imm48
Register indirect
(Am) / (An)
Register indirect
with displacement
Absolute
Register indirect with index
(Di, Am)/(Di, An)
Address calculation
Effective address
+
(32-bit address)
abs32/abs16
Am/An
0
31
d32/d16/d8
7
15
0
31
+
Di
Am/An
0
31
(32-bit address)
0
31
0
31
+
+
SP
0
31
15
d32/d16/d8
7
15
0
31
d32/d16/d8
7
15
0
31
Addressing mode
(d8, Am)/(d8, An)
: d8 is sign-extended
(d16, Am)/(d16, An)
: d16 is sign-extended
(d32, Am)/(d32, An)
(Branch instructions only)
(d8, PC)
: d8 is sign-extended
(d16, PC)
: d16 is sign-extended
(d32, PC)
(d8, SP)
: d8 is zero-extended
(d16, SP)
: d16 is zero-extended
(d32, SP)
(abs16)
: abs16 is zero-extended
(abs32)
2.4
Instructions
2.4.1
Addressing Modes
The 32-bit microcontroller is equipped with the following 6 addressing modes which are frequently used with
compilers.
All 6 addressing modes of register direct, immediate value, register indirect, register indirect with displacement,
absolute and register indirect with index can be used with data transfer group instructions.
The 2 addressing modes of register direct and immediate addressing can be used with register operation instructions.
Register indirect with index addressing is an addressing mode used to efficiently access arrays and other data.
Table 2-4-1 Addressing Mode Types
When accessing data using the register indirect with displacement and register indirect with index modes, the base
address (the contents of Am, An and SP) and the effective address must be located within the same address space.
For details on memory spaces, refer to section 4.1, "Memory Mode Types and Selection."
Summary of Contents for MN103001G/F01K
Page 1: ...MICROCOMPUTER MN1030 MN103001G F01K LSI User s Manual Pub No 23101 050E ...
Page 2: ......
Page 4: ......
Page 6: ......
Page 8: ......
Page 9: ...Table of Contents List of Figures and Tables 0 ...
Page 26: ...xviii ...
Page 27: ...1 0 1 General Specifications ...
Page 35: ...2 CPU 2 ...
Page 57: ...3 Extension Instruction Specifications 3 ...
Page 96: ...Extension Instruction Specifications 3 40 ...
Page 97: ...4 Memory Modes 3 4 ...
Page 102: ...Memory Modes 4 6 ...
Page 103: ...5 Operating Mode 5 ...
Page 107: ...6 Clock Generator 6 13 ...
Page 111: ...7 Internal Memory 7 ...
Page 114: ...Internal Memory 7 4 ...
Page 115: ...8 Bus Controller BC 8 ...
Page 189: ...9 Interrupt Controller 9 ...
Page 220: ...Interrupt Controller 9 32 ...
Page 221: ...10 8 bit Timers 9 10 ...
Page 254: ...8 bit Timers 10 34 ...
Page 255: ...11 16 bit Timers 11 ...
Page 292: ...16 bit Timers 11 38 ...
Page 293: ...12 Watchdog Timer 11 12 ...
Page 302: ...Watchdog Timer 12 10 ...
Page 303: ...13 Serial Interface 13 ...
Page 354: ...Serial Interface 13 52 ...
Page 355: ...14 A D Converter 14 ...
Page 367: ...15 I O Ports 15 ...
Page 431: ...16 Internal Flash Memory 16 ...
Page 439: ...17 17 Ordering Mask ROM ...
Page 442: ...Ordering Mask ROM 17 4 ...
Page 443: ...Appendix ...