AH500 Programming Manual 
6-132 
 
Additional remark: 
1.  Suppose the data involved in the instruction is binary-coded decimal numbers. If the number in 
S is not within the range between 0 and 9999, or if the number in D is not within the range 
between 0 and 9999, the instruction is not executed, SM0 is ON, and the error code in SR0 is 
16#200D. 
2.  If m
1
 is less than 1, or if m
1
 is larger than 4, the instruction is not executed, SM0 is ON, and the 
error code in SR0 is 16#200B. 
3.  If m
2
 is less than 1, or if m
2
 is larger than m
1
, the instruction is not executed, SM0 is ON, and 
the error code in SR0 is 16#200B. 
4.  If n is less than m
2
, or if n is larger than 4, the instruction is not executed, SM0 is ON, and the 
error code in SR0 is 16#200B.