Table B.2.1P Bit Manipulation Instructions (22 Instructions) - Fujitsu F2MC-16LX MB90580 Series Hardware Manual

16-bit microcontrollers
Hide thumbs Also See for F2MC-16LX MB90580 Series:
Table of Contents

Advertisement

B.2 Instruction Set
Mnemonic
MOVB
A,dir:bp
MOVB
A,addr16:bp
MOVB
A,io:bp
MOVB
dir:bp,A
MOVB
addr16:bp,A
MOVB
io:bp,A
SETB
dir:bp
SETB
addr16:bp
SETB
io:bp
CLRB
dir:bp
CLRB
addr16:bp
CLRB
io:bp
BBC
dir:bp,rel
BBC
addr16:bp,rel
BBC
io:bp,rel
BBS
dir:bp,rel
BBS
addr16:bp,rel
BBS
io:bp,rel
SBBS
addr16:bp,rel
WBTS
io:bp
WBTC
io:bp
*1:
8 when branching, 7 when not branching
*2:
7 when branching, 6 when not branching
*3:
10 when condition is satisfied, 9 when not satisfied
*4:
Undefined count
*5:
Until condition is satisfied
Note: For an explanation of "(a)" to "(d)" in the colunm "B", see Table B.2d and Table B.2e.
332
APPENDIX B: Instructions

Table B.2.1p Bit Manipulation Instructions (22 Instructions)

#
~
RG
B
byte (A) ← ( dir:bp )b
3
5
0
(b)
byte (A) ← ( addr16:bp )b
4
5
0
(b)
byte (A) ← ( io:bp )b
3
4
0
(b)
bit ( dir:bp )b ← (A)
3
7
0
2×(b)
bit ( addr16:bp )b ← (A)
4
7
0
2×(b)
bit ( io:bp )b ← (A)
3
6
0
2×(b)
bit ( dir:bp )b ← 1
3
7
0
2×(b)
bit ( addr16:bp )b ← 1
4
7
0
2×(b)
bit ( io:bp )b ← 1
3
7
0
2×(b)
bit ( dir:bp )b ← 0
3
7
0
2×(b)
bit ( addr16:bp )b ← 0
4
7
0
2×(b)
bit ( io:bp )b ← 0
3
7
0
2×(b)
4
*1
0
(b)
Branch when ( dir:bp )b = 0
5
*1
0
(b)
Branch when ( addr16:bp )b = 0
4
*2
0
(b)
Branch when ( io:bp)b = 0
4
*1
0
(b)
Branch when ( dir:bp )b = 1
5
*1
0
(b)
Branch when ( addr16:bp )b = 1
4
*2
0
(b)
Branch when ( io:bp)b = 1
5
*3
0
2×(b)
Branch when (addr16:bp) b = 1, bit = 1
3
*4
0
*5
Wait until (io:bp) b = 1
3
*4
0
*5
Wait until (io:bp) b = 0
Operation
LH AH I S T
Z
Z
Z
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
N
Z
V
C
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
MB90580 Series
RMW
-
-
-
-
-
-
-
-
-
-
-

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lx mb90v580F2mc-16lx mb90583F2mc-16lx mb90f583

Table of Contents