411
APPENDIX E Instructions
■
Logical Operation Instructions
■
Bit Operation Instructions
Table E.1-3 Logical Operation Instructions
Mnemonic
Type
OP
Cycle
NZVC
Operation
Remarks
AND
Rj, Ri
AND
Rj, @Ri
ANDH Rj, @Ri
ANDB Rj, @Ri
A
A
A
A
82
84
85
86
1
1+2a
1+2a
1+2a
CC--
CC--
CC--
CC--
Ri &= Rj
(Ri) &= Rj
(Ri) &= Rj
(Ri) &= Rj
Word
Word
Half-word
Byte
OR
Rj, Ri
OR
Rj, @Ri
ORH
Rj, @Ri
ORB
Rj, @Ri
A
A
A
A
92
94
95
96
1
1+2a
1+2a
1+2a
CC--
CC--
CC--
CC--
Ri |= Rj
(Ri)|= Rj
(Ri)|= Rj
(Ri)|= Rj
Word
Word
Half-word
Byte
EOR
Rj, Ri
EOR
Rj, @Ri
EORH Rj, @Ri
EORB Rj, @Ri
A
A
A
A
9A
9C
9D
9E
1
1+2a
1+2a
1+2a
CC--
CC--
CC--
CC--
Ri ^= Rj
(Ri)^= Rj
(Ri)^= Rj
(Ri)^= Rj
Word
Word
Half-word
Byte
Table E.1-4 Bit Operation Instructions
Mnemonic
Type
OP
Cycle
NZVC
Operation
Remarks
BANDL #u4, @Ri
BANDH #u4, @Ri
*BAND #u8, @Ri*
1
C
C
80
81
1+2a
1+2a
----
----
----
(Ri)&=(0xF0+u4)
(Ri)&=((u4<<4)+0x0F
H
)
(Ri)&=u8
Lower 4 bits are subject
to operation.
Upper 4 bits are subject
to operation.
BORL
#u4, @Ri
BORH #u4, @Ri
*BOR
#u8, @Ri*
2
C
C
90
91
1+2a
1+2a
----
----
----
(Ri)|= u4
(Ri)|= (u4<<4)
(Ri)|= u8
Lower 4 bits are subject
to operation.
Upper 4 bits are subject
to operation.
BEORL #u4, @Ri
BEORH #u4, @Ri
*BEOR #u8, @Ri*
3
C
C
98
99
1+2a
1+2a
----
----
----
(Ri)^= u4
(Ri)^= (u4<<4)
(Ri)^= u8
Lower 4 bits are subject
to operation.
Upper 4 bits are subject
to operation.
BTSTL #u4, @Ri
BTSTH#u4, @Ri
C
C
88
89
2+a
2+a
0C--
CC--
(Ri) & u4
(Ri) & (u4<<4)
Lower 4-bit test
Upper-4 bit test
*1
The assembler creates BANDL if the bit is ON in u8&0x0F and BANDH if the bit is ON in u8&0xF0.
Both BANDL and BANDH may be created.
*2
The assembler creates BORL if the bit is ON in u8&0x0F and BORH if the bit is ON in u8&0xF0.
Both BORL and BORH may be created.
Содержание 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 ...