Chapter 6 Applied Instructions If the values in D50 and D51 are 3 and 4 respectively, the execution result is as follows. b 15 b 0 b7 b8 D0 D1 b15 b 0 b7 b8 D20 D2 in structio n D22 D21 D4 D3 D24 D23 D6 D5 D25 D7 D27 D26 D11 D10 D12 D50 h ar ac t er s w h ic h a r e r e p la c e d D51 4 開始取代的位置 C h a r a c t e r w h ic h i s r e p la c e d 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 D0 D1 D21 D20 D2 D22 D3 D4 After the instruction is executed D23 D24 D5 D6 D25 D26 D7 D27 6_ D11 D10 D12 D50 4 Number of characters which are replaced D51 4 Character which is replaced 6-671 16# 32 (2) 16#31(1) 16#34 (4) 1 6#33(3) 16#42(B) 16 #41(A) 16#42(B) 16 #41(A ) 執行後 1 6#32(2) 1 6#31(1) 1 6#34(4) 1 6#33(3) 1 6#42(B) 16#41(A) Ig忽 n略 o r e d 16 #00 1 6#32(2) 16#31 (1) 1 6#43(C) 16#33 (3) 16#45(E) 16#44(D) 16#41 (A) 1 6#46(F) 16#31 (1) 16#42 (B) 16#33 (3) 16#32 (2) 16#41(A) 16#34 (4 ) 1 6#00 16#42 (B) 16#44 (D) 1 6#43(C) 16#45 (F) 1 6#45(E) I 忽g n略 or ed 16 #00 3 N取 u代 m數 b量 e r 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