Chapter 6 Applied Instructions
6-485
b15
b0
b7 b8
16#41(A) 42(B)16#
47(G)16# 48(H)16#
16#31(1)
16#32(2)
43(C)16# 44(D)16#
5
0016#
AB
D0
D1
D2
D3
D100
Ignored
Searching the string from the third character
Matching character
After the instruction is executed
Additional remark:
1. If the string in S
1
does not end with 16#00, SM0 is ON, and the error code in SR0 is 16#200E.
2. If the string in S
2
does not end with 16#00, SM0 is ON, and the error code in SR0 is 16#2003.
3. If n is less than or equal to 0, or if n is larger than the length of the string in S
2
, SM0 is ON, and
the error code in SR0 is 16#2003