AH500 Programming Manual
6-476
Example:
b15
b0
b7 b8
0016#
16#41(A)
16#42(B)
16#43(C) 44(D)16#
46(F)16#
45(E)16#
16#47(G)
16#48(H)
b15
b0
b7 b8
16#45(E) 46(F)16#
47(G)16#
48(H)16#
The fourth character from the last
0016#
D0
D1
D2
D3
D4
D10
D11
D12
Additional remark:
1. If the string in S does not end with 16#00, SM0 is ON, and the error code in SR0 is 16#200E.
2. If n is less than 0, or if n is larger than the length of the string in S, the instruction is not
executed, SM0 is ON, and the error code in SR0 is 16#2003.
3. If D is not sufficient to contain n characters, the instruction is not executed, SM0 is ON, and the
error code in SR0 is 16#2003.