413
APPENDIX E Instructions
■
Immediate Value Setting or 16/32-Bit Immediate Value Transfer Instruction
■
Memory Load Instructions
*: Special register Rs: TBR, RP, USP, SSP, MDH, MDL
(Notes)
The assembler calculates and sets values in the o8 and o4 fields of hardware specifications as
follows:
Disp10/4 --> o8, disp9/2 --> o8, disp8 --> o8: Disp10, disp9, and disp8 are signed.
Udisp6/4 --> o4: Udisp6 is unsigned.
Table E.1-7 Immediate Value Setting or 16/32-Bit Immediate Value Transfer Instruction
Mnemonic
Type
OP
Cycle
NZVC
Operation
Remarks
LDI:32 #i32, Ri
LDI:20 #i20, Ri
LDI:8
#i8, Ri
*LDI #{i8|i20|i32},Ri*
E
C
B
9F-8
9B
C0
3
2
1
----
----
----
i32 --> Ri
i20 --> Ri
i8 --> Ri
{i8|i20|i32} --> Ri
Upper 12 bits are zero-
expanded.
Upper 24 bits are zero-
expanded.
*:
When the immediate value is an absolute value, the assembler automatically selects i8, i20, or i32.
If the immediate value includes a relative value or external reference symbol, i32 is selected.
Table E.1-8 Memory Load Instructions
Mnemonic
Type
OP
CYCLE
NZVC
Operation
Remarks
LD @Rj, Ri
LD @(R13,Rj), Ri
LD @(R14,disp10), Ri
LD @(R15,udisp6), Ri
LD @R15+, Ri
LD @R15+, Rs
LD @R15+, PS
A
A
B
C
E
E
E
04
00
20
03
07-0
07-8
07-9
b
b
b
b
b
b
1+a+b
----
----
----
----
----
----
CCCC
(Rj) --> Ri
(R13 + Rj) --> Ri
(R14 + disp10) --> Ri
(R15 + udisp6) --> Ri
(R15) --> Ri,R15 + = 4
(R15) --> Rs,R15 + = 4
(R15) --> PS,R15 + = 4
Rs: special
register*
LDUH @Rj, Ri
LDUH @(R13,Rj), Ri
LDUH @(R14,disp9), Ri
A
A
B
05
01
40
b
b
b
----
----
----
(Rj) --> Ri
(R13 + Rj) --> Ri
(R14 + disp9) --> Ri
Zero expansion
Zero expansion
Zero expansion
LDUB @Rj, Ri
LDUB @(R13,Rj), Ri
LDUB @(R14,disp8), Ri
A
A
B
06
02
60
b
b
b
----
----
----
(Rj) --> Ri
(R13 + Rj) --> Ri
(R14 + disp8) --> Ri
Zero expansion
Zero expansion
Zero expansion
Summary of Contents for MB91F109
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...
Page 4: ......
Page 10: ...vi ...
Page 24: ...xx ...
Page 96: ...72 CHAPTER 2 CPU ...
Page 224: ...200 CHAPTER 4 BUS INTERFACE ...
Page 234: ...210 CHAPTER 5 I O PORTS ...
Page 268: ...244 CHAPTER 9 U TIMER ...
Page 290: ...266 CHAPTER 10 UART ...
Page 314: ...290 CHAPTER 12 16 BIT RELOAD TIMER ...
Page 322: ...298 CHAPTER 13 BIT SEARCH MODULE ...
Page 392: ...368 CHAPTER 16 FLASH MEMORY ...
Page 432: ...408 APPENDIX E Instructions F Table E 2 Instruction Formats OP rel11 5 11 ...
Page 448: ...424 APPENDIX E Instructions ...
Page 449: ...425 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 458: ...434 INDEX ...
Page 460: ......
Page 461: ...FUJITSU SEMICONDUCTOR FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...