Download Down - Omron
Transcript
Data Comparison Instructions Instruction Set Name Mnemonic Area Range Compare (@) ZCP (88) Symbol Function Operands UL: IR SR HR AR TC DM LR # CPU ZCP(88) CD LL UL Compares a word to a range defined by CD: Lower and Upper Limits and outputs IR the result to GR, EQ and LE flags. SR HR AR TC DM LR # LL: IR SR HR AR TC DM LR # Signed binary compare CPS (*) CPS(--) Cp1 Cp2 Compares two 16-bit (4-digit) signed binary values and outputs the result to GR, EQ and LE flags. Cp1: IR SR HR AR TC DM LR # Cp2: IR SR HR AR TC DM LR # HS-CPU’s Double signed binary compare CPSL (*) CPSL(--) Cp1 Cp2 Compares two 32-bit (8-DIGIT) signed binary values and outputs the result to GR, EQ and LE flags. ZCPL(--) CD LL UL Compares an 8-digit value to a range and outputs the result to GR, EQ and LE flags. Cp2: IR SR AR DM HR TC LR LL: IR SR HR AR TC DM LR HS-CPU’s Double area range compare ZCPL (*) Cp1: IR SR AR DM HR TC LR CD: IR SR HR AR TC DM LR UL: IR SR HR AR TC DM LR HS-CPU’s HS-CPU’s 7 183