
480
APPENDIX
■
Other instructions
Table E-15 Other instructions
Mnemonic
Type
OP
CYCLE
NZVC
Operation
Remarks
NOP
E
9F-A
1
----
No change
-
ANDCCR #u8
D
93
c
CCCC
CCR and u8 --> CCR
-
ORCCR #u8
D
83
c
CCCC
CCR or u8 --> CCR
STILM #u8
D
87
1
----
i8 --> ILM
ILM immediate
value set
ADDSP #s10
*1
D
A3
1
----
R15 += s10
ADD SP instruction
EXTSB Ri
E
97-8
1
----
Sign extension 8 --> 32bit
-
EXTUB Ri
E
97-9
1
----
Zero extension 8 --> 32bit
EXTSH Ri
E
97-A
1
----
Sign extension 16 --> 32bit
EXTUH Ri
E
97-B
1
----
Zero extension 16 --> 32bit
LDM0 (reglist)
D
8C
-
----
(R15) --> reglist,
R15 increment
Load multiple R0 to
R7
LDM1 (reglist)
D
8D
----
(R15) --> reglist,
R15 increment
Load multiple R8 to
R15
*LDM (reglist)
*2
(R15) --> reglist,
R15 increment
Load multiple R0 to
R15
STM0 (reglist)
D
8E
-
----
R15 decrement
reglist --> (R15)
Store multiple R0 to
R7
STM1 (reglist)
D
8F
----
R15 decrement
reglist --> (R15)
Store multiple R8 to
R15
*STM (reglist)
*3
R15 decrement
reglist --> (R15)
Store multiple R0 to
R15
ENTER #u10
*4
D
0F
1+a
----
R14 --> (R15 - 4),
R15 - 4 --> R14,
R15 - u10 --> R15
Entry processing of
a function
LEAVE
E
9F-9
b
----
R14 + 4 --> R15,
(R15 - 4) --> R14
Exit processing of a
function
XCHB @Rj, Ri
A
8A
2a
----
Ri --> TEMP
(Rj) --> Ri
TEMP --> (Rj)
For semaphore
control
Byte data
*1: The assembler changes s10 to s8 by calculating s10/4 and sets a value. s10 is a signed value.
*2: If reglist specifies any of R0 to R7, the assembler generates LDM0. If reglist specifies any of R8 to R15, the
assembler generates LDM1. The assembler may generate both LDM0 and LDM1.
*3: If reglist specifies any of R0 to R7, the assembler generates STM0. If reglist specifies any of R8 to R15, the
assembler generates STM1. The assembler may generate both STM1 and STM0.
*4: The assembler changes u10 to u8 by calculating u10/4 and sets a value. u10 is an unsigned value.
Notes:
•
The number of execution cycles of LDM0 (reglist) and LDM1 (reglist) is a*(n-1)+b+1 cycles
•
when the specified number of registers is n.
•
The number of execution cycles of STM0 (reglist) and STM1 (reglist) is a*n+1 cycles when the
•
specified number of registers is n.
Summary of Contents for MB91150 Series
Page 1: ......
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Page 4: ......
Page 10: ...vi ...
Page 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Page 178: ...162 CHAPTER 5 I O PORTS ...
Page 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Page 240: ...224 CHAPTER 8 PPG TIMER ...
Page 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Page 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Page 362: ...346 CHAPTER 15 UART ...
Page 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Page 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Page 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 510: ...494 INDEX ...
Page 512: ......