Chapter 6 Applied Instructions If the values in D50 and D51 are 4 and 4 respectively, the execution result is as follows. b15 b0 b7 b8 b15 b0 b7 b8 D1 D0 D21 D20 D2 D22 D3 D4 After the instruction is executed D23 D24 D5 D6 D25 D26 D7 D27 D10 D11 D12 D50 4 Number of characters which are replaced If the values in D50 and D51 are 20 and 4 respectively, the execution result is as follows.
D51 4 Character which is replaced b15 b0 b7 b8 b15 b0 b7 b8 D1 D0 D20 D21 D3 D2 After the instruction is executed D23 D22 D4 D5 D6 D7 D10 D12 D11 D50 20 Number of characters which are replaced D51 4 Character which is replaced If the values in D50, D51, and D10 are 3, 4, and 16#00 respectively, the execution result is as follows. The three characters in D0~D7 starting from the fourth character are deleted. b15 b0 b7 b8 b15 b0 b7 b8 D1 D0 D20 D21 D3 D2 After the instruction is executed D23 D22 D4 D5 D24 D25 D6 D7 D10 00 16# D50 3 Number of characters which are replaced D51 4 Character which is replaced 1.
If the string in S 1 does not end with - S 1 , SM0 is ON, and the error code in SR0 is 16#2003. Additional remark:
6-489 16#32(2) 16#31(1) 16#34(4) 16#33(3) 16#42(B) 16#41(A) 16#42(B) 16#41(A) 16#32(2) 16#31(1) 16#34(4) 16#33(3) 16#42(B) 16#41(A) Ignored 16#00 16#32(2) 16#31(1) 16#43(C) 16#33(3) 16#45(E) 16#44(D) 16#42(B) 16#46(F) 16#32(2) 16#31(1) 16#34(4) 16#33(3) 16#42(B) 16#41(A) 16#0000 16#44(D) 16#43(C) 16#45(F) 16#45(E) Ignored 16#00 16#32(2) 16#31(1) 16#34(4) 16#33(3) 16#42(B) 16#41(A) 16#42(B) 16#41(A) 16#32(2) 16#31(1) 16#34(4) 16#33(3) 16#42(B) 16#41(A) Ignored 16#00 16#32(2) 16#31(1) 16#43(C) 16#33(3) 16#45(E) 16#44(D) 16#00 16#46(F) 16#44(D) 16#43(C) 16#45(F) 16#45(E) Ignored 16#00 16#32(2) 16#31(1) 16#34(4) 16#33(3) 16#42(B) 16#41(A) 16#42(B) 16#41(A) 16#32(2) 16#31(1) 16#34(4) 16#33(3) 16#42(B) 16#41(A) 16#00 16#32(2) 16#31(1) 16#41(A) 16#33(3) 16#31(1) 16#42(B) 16#33(3) 16#32(2) 16#41(A) 16#34(4) 16#00 16#42(B)