![](http://datasheet.mmic.net.cn/330000/MB90F562_datasheet_16437954/MB90F562_546.png)
522
APPENDIX B INSTRUCTIONS
MB90560 series
Table B.8-17 String instructions: 10 instructions
*1
5 when RW0 is zero, 4 + 7 x (RW0) when counter limit reached, 7n + 5 for a match
*2
5 when RW0 is zero, 4 + 8 x (RW0) otherwise
*3
(b) x (RW0) + (b) x (RW0). When source and destination access different areas, calculate item (b)
separately.
*4
(b) x n
*5
2 x (RW0)
*6
(c) x (RW0) + (c) x (RW0). When source and destination access different areas, calculate item (c)
separately.
*7
(c) x n
*8
2 x (RW0)
Note:
m: RW0 value (counter value)
n:
Loop count
<Caution>
See Table B.5-1, "Number of execution cycles for each type of addressing," and Table B.5-2,
"Compensation values for calculating the number of execution cycles," for (a) to (d) in the
above table.
Mnemonic
#
~
RG
B
Operation
LH AH
I
S T
N
Z
V
C
RMW
MOVS / MOVSI
MOVSD
SCEQ / SCEQI
SCEQD
FILS / FILSI
2
2
2
2
2
*2
*2
*1
*1
6m+6
+&
+&
+&
+&
+&
*3
*3
*4
*4
*3
byte transfer @AH+
←
@AL+, counter = RW0
byte transfer @AH-
←
@AL-, counter = RW0
byte search @AH+
←
AL, counter = RW0
byte search @AH-
←
AL, counter = RW0
byte fill @AH+
←
AL, counter = RW0
word transfer @AH+
←
@AL+, counter = RW0
word transfer @AH-
←
@AL-, counter = RW0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
MOVSW / MOVSWI
MOVSWD
SCWEQ / SCWEQI
SCWEQD
FILSW / FILSWI
2
2
2
2
2
*2
*2
*1
*1
6m+6
+)
+)
+)
+)
+)
*6
*6
*7
*7
*6
word search @AH+
←
AL, counter = RW0
word search @AH-
←
AL, counter = RW0
word fill @AH+
←
AL, counter = RW0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-