Download Q-series basic Course(for GX Developer)
Transcript
LD$ $ S1 S2 AND$ $ S1 S2 $ S1 S2 LD$ $ S1 S2 AND$ $ S1 S2 $ S1 S2 LD$ $ S1 S2 AND$ $ S1 S2 $ S1 S2 $ S1 S2 $ S1 S2 $ S1 S2 LD$ $ S1 S2 AND$ $ S1 S2 $ S1 S2 LD$ $ S1 S2 AND$ $ S1 S2 $ S1 S2 OR$ OR$ Character Symbol OR$ string data comparisons LD$ AND$ OR$ OR$ OR$ Processing details • Compares character string S1 and character string S2 one character at a time. * • Conductive status when (character string S1) = (character string S2) • Non-Conductive status when (character string S1) ≠ (character string S2) • Compares character string S1 and character string S2 one character at a time. * • Conductive status when (character string S1) ≠ (character string S2) • Non-Conductive status when (character string S1) = (character string S2) • Compares character string S1 and character string S2 one character at a time. * • Conductive status when (character string S1) > (character string S2) • Non-Conductive status when (character string S1) ≤ (character string S2) • Compares character string S1 and character string S2 one character at a time. * • Conductive status when (character string S1) ≤ (character string S2) • Non-Conductive status when (character string S1) > (character string S2) • Compares character string S1 and character string S2 one character at a time. * • Conductive status when (character string S1) < (character string S2) • Non-Conductive status when (character string S1) ≥ (character string S2) • Compares character string S1 and character string S2 one character at a time. • Conductive status when (character string S1) ≥ (character string S2) • Non-Conductive status when (character string S1) < (character string S2) Execution condition Subset Instruction symbol Number of basic steps Category 3 3 3 3 3 3 REMARK 1) *: The conditions under which character string comparisons can be made are as shown below. • Match: All characters in the strings must match • Larger string: If character strings are different, determines the string with the largest number of character codes If the lengths of the character strings are different, determines the longest character string • Smaller string: If the character strings are different, determines the string with the smallest number of character codes If the lengths of the character strings are different, determines the shortest character string App - 11