
475
APPENDIX E Instruction Lists
■
Shift instructions
■
Immediate value set, 16-bit immediate value, and 32-bit immediate value transfer instructions
Table E-8 Shift instructions
Mnemonic
Type
OP
CYCLE
NZVC
Operation
Remarks
LSL Rj, Ri
A
B6
1
CC-C
Ri << Rj --> Ri
Logical shift
*LSL # u5, Ri (u5:0 to 31)
C’
B4
1
CC-C
Ri << u5 --> Ri
LSL #u4, Ri
C
B4
1
CC-C
Ri << u4 --> Ri
LSL2 #u4, Ri
C
B5
1
CC-C
Ri <<(u4+16) --> Ri
LSR Rj, Ri
A
B2
1
CC-C
Ri << Rj --> Ri
Logical shift
*LSR # u5, Ri (u5:0 to 31)
C’
B0
1
CC-C
Ri << u5 --> Ri
LSR #u4, Ri
C
B0
1
CC-C
Ri << u4 --> Ri
LSR2 #u4, Ri
C
B1
1
CC-C
Ri <<(u4+16) --> Ri
ASR Rj, Ri
A
BA
1
CC-C
Ri << Rj --> Ri
Arithmetic shift
*ASR # u5, Ri (u5:0 to 31)
C’
B8
1
CC-C
Ri << u5 --> Ri
ASR #u4, Ri
C
B8
1
CC-C
Ri << u4 --> Ri
ASR2 #u4, Ri
C
B9
1
CC-C
Ri <<(u4+16) --> Ri
Table E-9 Immediate value set, 16-bit immediate value, and 32-bit immediate value transfer instructions
Mnemonic
Type
OP
CYCLE
NZVC
Operation
Remarks
LDI:32 #i32, Ri
E
9F-8
3
----
i32 --> Ri
LDI:20 #i20, Ri
C
9B
2
----
i20 --> Ri
The higher 12 bits are
zero-extended.
LDI:8 #i8, Ri
B
C0
1
----
i8 --> Ri
The higher 24 bits are
zero-extended.
*LDI # {i8|i20|i32}, Ri
*1
{i8|i20|i32} --> Ri
*1: If an immediate value is an absolute value, the assembler automatically selects i8, i20, or i32.
If the immediate value contains a relative value or external reference symbol, i32 is selected.
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: ......