Chapter 20
Appendix
Instruction set
XX - 5
20.2 Instruction set
Mnemonic
*1
*2
*3
*1
*2
*3
*4 *7
*4 *7
*2 *7
*2 *7
*3 *7
*3 *7
*7
*7
*7
*7
*7
*7
*7
*4 *7
*2 *7
*2 *7
*3 *7
*3 *7
*7
*7
*7
*7
*7
*7
*7
*7
*5
*6
1
1010
1010
1001
0001
0100
0110
0110
0110
0110
0110
0110
0100
0100
1100
0101
0111
0111
0111
0111
0111
0111
0101
0101
1101
0000
0001
0001
1101
1101
1110
1110
1110
1110
1110
1110
1110
1110
1100
1100
1100
1100
1111
1111
1111
1111
1111
1111
1111
1111
1101
1101
1101
1101
1001
1001
0000
0000
1100
2
DnDm
DmDm
01Dn
01Dm
1ADm
1ADm
1ADm
01Dm
01Dm
00Dm
00Dm
01Dm
00Dm
00Dm
1aDn
1aDn
1aDn
01Dn
01Dn
00Dn
00Dn
01Dn
00Dn
00Dn
0010
0100
0101
1001
00Dn
00Ad
10Aa
011d
010a
011d
010a
001d
000a
011d
010a
011d
010a
00ad
10aA
011D
010A
011D
010A
001D
000A
011D
010A
011D
010A
010D
011A
110d
111a
111d
3
<#8.
<d8.
<d16
<d4>
<d8.
<d16
<io8
<abs
<abs
<abs
<d8.
<d16
<d4>
<d8.
<d16
<io8
<abs
<abs
<abs
<io8
<abs
<abs
<abs
<d4>
<d4>
<d8.
<d8.
<d16
<d16
<abs
<abs
<abs
<abs
<d4>
<d4>
<d8.
<d8.
<d16
<d16
<abs
<abs
<abs
<abs
<#8.
<#8.
<#16
4
...>
...>
....
...>
....
...>
8..>
12..
16..
...>
....
...>
....
...>
8..>
12..
16..
...>
8..>
12..
16..
...>
...>
....
....
8..>
8..>
16..
16..
...>
...>
....
....
8..>
8..>
16..
16..
...>
...>
....
5
....
....
...>
....
....
....
...>
....
<#8.
<#8.
...>
....
....
....
....
....
....
....
....
....
....
6
...>
...>
...>
...>
...>
...>
...>
...>
<#8.
...>
...>
...>
...>
...>
...>
...>
...>
...>
...>
7
...>
<#8.
8
...>
9
10
11
Ext.
0010
0010
0010
0010
0010
0010
0010
0010
0010
0010
0011
0010
0010
0010
0010
0010
0010
0010
0010
0010
0010
0010
0010
0010
0010
REP
2
4
3
3
2
4
7
3
5
7
4
4
5
7
2
4
7
3
5
7
4
4
5
7
6
6
7
9
2
2
3
3
3
5
5
7
7
4
4
7
7
2
3
3
3
5
5
7
7
4
4
7
7
2
2
4
4
6
1
1
2
1
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
2+d
2+d
2+d
2+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1+d
1
1
1
Dn
→
Dm
imm8
→
Dm
Dn
→
PSW
PSW
→
Dm
mem8(An)
→
Dm
mem8(d8+An)
→
Dm
mem8(d16+An)
→
Dm
mem8(d4+SP)
→
Dm
mem8(d8+SP)
→
Dm
mem8(d16+SP)
→
Dm
mem8(IOTOP+io8)
→
Dm
mem8(abs8)
→
Dm
mem8(abs12)
→
Dm
mem8(abs16)
→
Dm
Dn
→
mem8(Am)
Dn
→
mem8(d8+Am)
Dn
→
mem8(d16+Am)
Dn
→
mem8(d4+SP)
Dn
→
mem8(d8+SP)
Dn
→
mem8(d16+SP)
Dn
→
mem8(IOTOP+io8)
Dn
→
mem8(abs8)
Dn
→
mem8(abs12)
Dn
→
mem8(abs16)
imm8
→
mem8(IOTOP+io8)
imm8
→
mem8(abs8)
imm8
→
mem8(abs12)
imm8
→
mem8(abs16)
Dn
→
mem8(HA)
mem16(An)
→
DWm
mem16(An)
→
Am
mem16(d4+SP)
→
DWm
mem16(d4+SP)
→
Am
mem16(d8+SP)
→
DWm
mem16(d8+SP)
→
Am
mem16(d16+SP)
→
DWm
mem16(d16+SP)
→
Am
mem16(abs8)
→
DWm
mem16(abs8)
→
Am
mem16(abs16)
→
DWm
mem16(abs16)
→
Am
DWn
→
mem16(Am)
An
→
mem16(Am)
DWn
→
mem16(d4+SP)
An
→
mem16(d4+SP)
DWn
→
mem16(d8+SP)
An
→
mem16(d8+SP)
DWn
→
mem16(d16+SP)
An
→
mem16(d16+SP)
DWn
→
mem16(abs8)
An
→
mem16(abs8)
DWn
→
mem16(abs16)
An
→
mem16(abs16)
DWn
→
mem16(HA)
An
→
mem16(HA)
sign(imm8)
→
DWm
zero(imm8)
→
Am
imm16
→
DWm
MOV Dn, Dm
MOV imm8, Dm
MOV Dn, PSW
MOV PSW, Dm
MOV (An), Dm
MOV (d8,An), Dm
MOV (d16,An), Dm
MOV (d4,SP), Dm
MOV (d8,SP), Dm
MOV (d16,SP), Dm
MOV (io8), Dm
MOV (abs8), Dm
MOV (abs12), Dm
MOV (abs16), Dm
MOV Dn, (Am)
MOV Dn, (d8,Am)
MOV Dn, (d16,Am)
MOV Dn, (d4,SP)
MOV Dn, (d8,SP)
MOV Dn, (d16,SP)
MOV Dn, (io8)
MOV Dn, (abs8)
MOV Dn, (abs12)
MOV Dn, (abs16)
MOV imm8, (io8)
MOV imm8, (abs8)
MOV imm8, (abs12)
MOV imm8, (abs16)
MOV Dn, (HA)
MOVW (An), DWm
MOVW (An), Am
MOVW (d4,SP), DWm
MOVW (d4,SP), Am
MOVW (d8,SP), DWm
MOVW (d8,SP), Am
MOVW (d16,SP), DWm
MOVW (d16,SP), Am
MOVW (abs8), DWm
MOVW (abs8), Am
MOVW (abs16), DWm
MOVW (abs16), Am
MOVW DWn, (Am)
MOVW An, (Am)
MOVW DWn, (d4,SP)
MOVW An, (d4,SP)
MOVW DWn, (d8,SP)
MOVW An, (d8,SP)
MOVW DWn, (d16,SP)
MOVW An, (d16,SP)
MOVW DWn, (abs8)
MOVW An, (abs8)
MOVW DWn, (abs16)
MOVW An, (abs16)
MOVW DWn, (HA)
MOVW An, (HA)
MOVW imm8, DWm
MOVW imm8, Am
MOVW imm16, DWm
-
-
z
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
z
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
z
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
z
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
MOV
MOVW
Group
Notes
Operation
VF NF CF ZF
Code
Size
Execution
Cycle
Machine Code
Data Transfer Instructions
MN101L SERIES INSTRUCTION SET
Flag
*1 d8 sign-extention
*2 d4 zero-extention
*3 d8 zero-extention
*4 A = An, a = Am
*5 #8 sign-extention
*6 #8 zero-extention
*7 When the access address is odd number, the execution cycle is added "( 1 + d )" .
Содержание MN101L Series
Страница 1: ...Cover MICROCOMPUTER MN101L MN101LR05D 04D 03D 02D LSI User s Manual Pub No 21705 015E ...
Страница 2: ......
Страница 8: ......
Страница 10: ......
Страница 11: ...Contents Contents 0 ...
Страница 22: ... Contents 11 ...
Страница 23: ...I Chapter 1 Overview 1 ...
Страница 62: ...Chapter 1 Overview I 40 Cautions for Circuit Setup ...
Страница 63: ...II Chapter 2 CPU 2 ...
Страница 94: ...Chapter 2 CPU II 32 Reset ...
Страница 95: ...III Chapter 3 Interrupts 3 ...
Страница 143: ...IV Chapter 4 Clock Mode Voltage Control 4 ...
Страница 175: ...V Chapter 5 Watchdog Timer WDT 5 ...
Страница 180: ...Chapter 5 Watchdog Timer WDT V 6 Operation ...
Страница 181: ...VI Chapter 6 Power Supply Voltage Detection 6 ...
Страница 189: ...VII Chapter 7 I O Port 7 ...
Страница 248: ...Chapter 7 I O Port VII 60 Port 8 ...
Страница 249: ...VIII Chapter 8 8 bit Timer 8 ...
Страница 282: ...Chapter 8 8 bit Timer VIII 34 8 bit Timer Cascade Connection ...
Страница 283: ...IX Chapter 9 16 bit Timer 9 ...
Страница 346: ...Chapter 9 16 bit Timer IX 64 IGBT Output with Dead Time ...
Страница 347: ...X Chapter 10 General Purpose Time Base Free Running Timer 10 ...
Страница 361: ...XI Chapter 11 RTC Time Base Timer RTC TBT 11 ...
Страница 371: ...XII Chapter 12 Real Time Clock RTC 12 ...
Страница 389: ...XIII Chapter 13 Serial Interface 13 ...
Страница 458: ...Chapter 13 Serial Interface XIII 70 IIC Communication ...
Страница 459: ...XIV Chapter 14 DMA Controller 14 ...
Страница 472: ...Chapter 14 DMA Controller XIV 14 DMA Data Transfer ...
Страница 473: ...XV Chapter 15 Buzzer 15 ...
Страница 479: ...XVI Chapter 16 A D Converter ADC 16 ...
Страница 493: ...XVII Chapter 17 LCD 17 ...
Страница 530: ...Chapter 17 LCD XVII 38 LCD Display Examples ...
Страница 531: ...XVIII Chapter 18 ReRAM 18 ...
Страница 538: ...Chapter 18 ReRAM XVIII 8 Command Library ...
Страница 539: ...XIX Chapter 19 On Board Debugger 19 ...
Страница 542: ...Chapter 19 On Board Debugger XIX 4 List of on board debugging functions ...
Страница 543: ...XX Chapter 20 Appendix 20 ...
Страница 555: ...Chapter 20 Appendix Instruction map XX 13 ...