
MB90580C Series
120
Table 24 String Instructions [10 Instructions]
m: RW0 value (counter value)
n: Loop count
*1: 5 when RW0 is 0, 4 + 7
×
(RW0) for count out, and 7
×
n + 5 when match occurs
*2: 5 when RW0 is 0, 4 + 8
×
(RW0) in any other case
*3: (b)
×
(RW0) + (b)
×
(RW0) when accessing different areas for the source and destination, calculate (b) sepa-
rately for each.
*4: (b)
×
n
*5: 2
×
(RW0)
*6: (c)
×
(RW0) + (c)
×
(RW0) when accessing different areas for the source and destination, calculate (c)
separately for each.
*7: (c)
×
n
*8: 2
×
(RW0)
Note : For an explanation of “(a)” to “(d)”, refer to Table 4, “Number of Execution Cycles for Each Type of Addressing,”
and Table 5, “Correction Values for Number of Cycles Used to Calculate Number of Actual Cycles.”
Mnemonic
#
~
RG
B
Operation
LH
AH
I
S
T
N
Z
V
C
RMW
MOVS/MOVSI
MOVSD
SCEQ/SCEQI
SCEQD
FISL/FILSI
2
2
2
2
2
*
2
*
2
*
1
*
1
6m +6
*
5
*
5
*
5
*
5
*
5
*
3
*
3
*
4
*
4
*
3
Byte transfer @AH+
←
@AL+, counter = RW0
Byte transfer @AH–
←
@AL–, counter = RW0
Byte retrieval (@AH+) – AL, counter = RW0
Byte retrieval (@AH–) – AL, counter = RW0
Byte filling @AH+
←
AL, counter = RW0
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
–
–
*
*
*
–
–
*
*
–
–
–
*
*
–
–
–
–
–
–
MOVSW/MOVSWI
MOVSWD
SCWEQ/SCWEQI
SCWEQD
FILSW/FILSWI
2
2
2
2
2
*
2
*
2
*
1
*
1
6m +6
*
8
*
8
*
8
*
8
*
8
*
6
*
6
*
7
*
7
*
6
Word transfer @AH+
←
@AL+, counter = RW0
Word transfer @AH–
←
@AL–, counter = RW0
Word retrieval (@AH+) – AL, counter = RW0
Word retrieval (@AH–) – AL, counter = RW0
Word filling @AH+
←
AL, counter = RW0
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
–
–
*
*
*
–
–
*
*
–
–
–
*
*
–
–
–
–
–
–