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
Содержание MB91F109
Страница 2: ......
Страница 3: ...FUJITSU LIMITED FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...
Страница 4: ......
Страница 10: ...vi ...
Страница 24: ...xx ...
Страница 95: ...71 2 10 Operation Mode MODR writing RSTX reset MD2 1 0 BW1 and BW0 of AMD0 to AMD5 Bus width specification ...
Страница 96: ...72 CHAPTER 2 CPU ...
Страница 224: ...200 CHAPTER 4 BUS INTERFACE ...
Страница 234: ...210 CHAPTER 5 I O PORTS ...
Страница 268: ...244 CHAPTER 9 U TIMER ...
Страница 290: ...266 CHAPTER 10 UART ...
Страница 314: ...290 CHAPTER 12 16 BIT RELOAD TIMER ...
Страница 322: ...298 CHAPTER 13 BIT SEARCH MODULE ...
Страница 392: ...368 CHAPTER 16 FLASH MEMORY ...
Страница 432: ...408 APPENDIX E Instructions F Table E 2 Instruction Formats OP rel11 5 11 ...
Страница 448: ...424 APPENDIX E Instructions ...
Страница 449: ...425 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 458: ...434 INDEX ...
Страница 460: ......
Страница 461: ...FUJITSU SEMICONDUCTOR FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...