410
APPENDIX E Instructions
■
Addition and Subtraction Instructions
■
Compare Operation Instructions
Table E.1-1 Addition and Subtraction Instructions
Mnemonic
Type
OP
Cycle
NZVC
Operation
Remarks
ADD
Rj, Ri
*ADD #s5, Ri
ADD
#i4, Ri
ADD2 #i4, Ri
A
C’
C
C
A6
A4
A4
A5
1
1
1
1
CCCC
CCCC
CCCC
CCCC
Ri + Rj --> Ri
Ri + s5 --> Ri
Ri + extu(i4) --> Ri
Ri + extu(i4) --> Ri
Upper 1 bit is read as a
code by the assembler.
Zero expansion
Negative expansion
ADDC Rj, Ri
A
A7
1
CCCC
Ri + Rj + c --> Ri
Addition with carry-over
ADDN Rj, Ri
*ADDN #s5, Ri
ADDN #i4, Ri
ADDN2#i4, Ri
A
C'
C
C
A2
A0
A0
A1
1
1
1
1
----
----
----
----
Ri + Rj --> Ri
Ri + s5 --> Ri
Ri + extu(i4) --> Ri
Ri + extu(i4) --> Ri
Upper 1 bit is read as a
code by the assembler.
Zero expansion
Negative expansion
SUB
Rj, Ri
A
AC
1
CCCC
Ri - Rj --> Ri
SUBC Rj, Ri
A
AD
1
CCCC
Ri - Rj - c --> Ri
Subtraction with carry-
over
SUBN Rj, Ri
A
AE
1
----
Ri - Rj --> Ri
Table E.1-2 Compare Operation Instructions
Mnemonic
Type
OP
Cycle
NZVC
Operation
Remarks
CMP
Rj, Ri
*CMP #s5, Ri
CMP
#i4, Ri
CMP2 #i4, Ri
A
C'
C
C
AA
A8
A8
A9
1
1
1
1
CCCC
CCCC
CCCC
CCCC
Ri - Rj
Ri - s5
Ri + extu(i4)
Ri + extu(i4)
Upper 1 bit is read as a
code by the assembler.
Zero expansion
Negative 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 ...