Fujitsu MB90390 Series Hardware Manual page 686

Table of Contents

Advertisement

APPENDIX
Table B.8-16 21 Bit Operand Instructions
Mnemonic
#
MOVB
A,dir:bp
3
MOVB
A,addr16:bp
4
MOVB
A,io:bp
3
MOVB
dir:bp,A
3
MOVB
addr16:bp,A
4
MOVB
io:bp,A
3
SETB
dir:bp
3
SETB
addr16:bp
4
SETB
io:bp
3
CLRB
dir:bp
3
CLRB
addr16:bp
4
CLRB
io:bp
3
BBC
dir:bp,rel
4
BBC
addr16:bp,rel
5
BBC
io:bp,rel
4
BBS
dir:bp,rel
4
BBS
addr16:bp,rel
5
BBS
io:bp,rel
4
SBBS
addr16:bp,rel
5
WBTS
io:bp
3
WBTC
io:bp
3
*1: 8 when a branch is made; otherwise, 7
*2: 7 when a branch is made; otherwise, 6
*3: 10 when the condition is met; otherwise, 9
*4: Undefined count
*5: Until the condition is met
Note:
See Table B.5-1 and Table B.5-2 for information on (b) in the table.
Table B.8-17 6 Accumulator Operation Instructions (Byte, Word)
Mnemonic
#
SWAP
1
SWAPW
1
EXT
1
EXTW
1
ZEXT
1
ZEXTW
1
658
~
RG
B
byte (A) ← (dir:bp)b
5
0
(b)
byte (A) ← (addr16:bp)b
5
0
(b)
byte (A) ← (io:bp)b
4
0
(b)
2 × (b)
bit (dir:bp)b ← (A)
7
0
2 × (b)
bit (addr16:bp)b ← (A)
7
0
2 × (b)
bit (io:bp)b ← (A)
6
0
2 × (b)
bit (dir:bp)b ← 1
7
0
2 × (b)
bit (addr16:bp)b ← 1
7
0
2 × (b)
bit (io:bp)b ← 1
7
0
2 × (b)
bit (dir:bp)b ← 0
7
0
2 × (b)
bit (addr16:bp)b ← 0
7
0
2 × (b)
bit (io:bp)b ← 0
7
0
*1
0
(b)
Branch on (dir:bp) b = 0
*1
0
(b)
Branch on (addr16:bp) b = 0
*2
0
(b)
Branch on (io:bp) b = 0
*1
0
(b)
Branch on (dir:bp) b = 1
*1
0
(b)
Branch on (addr16:bp) b = 1
*2
0
(b)
Branch on (io:bp) b = 1
2 × (b)
*3
0
Branch on (addr16:bp) b = 1,
bit (addr16:bp) b ← 1
*4
0
*5
Waits until (io:bp) b = 1
*4
0
*5
Waits until (io:bp) b = 0
~
RG
B
byte (A)0-7 ↔ (A)8-15
3
0
0
word (AH) ↔ (AL)
2
0
0
1
0
0
Byte sign extension
2
0
0
Word sign extension
1
0
0
Byte zero extension
1
0
0
Word zero extension
Operation
LH
Z
Z
Z
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Operation
LH
-
-
X
-
Z
-
AH
I
S
T
N
Z
V
C
*
-
-
-
*
*
-
*
-
-
-
*
*
-
*
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
*
-
-
-
-
-
-
*
-
-
-
-
-
-
*
-
-
-
-
-
-
*
-
-
-
-
-
-
*
-
-
-
-
-
-
*
-
-
-
-
-
-
*
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
AH
I
S
T
N
Z
V
C
-
-
-
-
-
-
-
*
-
-
-
-
-
-
-
-
-
-
*
*
-
X
-
-
-
*
*
-
-
-
-
-
R
*
-
Z
-
-
-
R
*
-
RMW
-
-
-
-
-
-
-
*
-
*
-
*
-
*
-
*
-
*
-
*
-
*
-
*
-
-
-
-
-
-
-
-
-
-
-
-
-
*
-
-
-
-
RMW
-
-
-
-
-
-
-
-
-
-
-
-

Advertisement

Table of Contents
loading

Table of Contents