====== WCMP, DWCMP ====== ''WCMP arg1, arg2'' \\ ''DWCMP arg1, arg2'' Compares arg1 and arg2. WCMP operates on words (16 bits) and DWCMP operates on double words (32 bits). {{ :cubloc:wcmp_dwcmp:wcmp.png?nolink |}} | |P |M |F |S |C |T |D |Constants| |arg1,arg2 | | | | |O |O |O |O| {{ :cubloc:wcmp_dwcmp:wcmp1.png?nolink |}} ===== Flags ===== F73 (zero flag) - ON if s1 and s2 are equal \\ F66 (less than flag) - ON if s1 is less than s2 \\ F67 (greater than flag) - ON if s1 is greater than s2 [[cubloc:index#Ladder_Logic:|Go CUBLOC Ladder Logic home]]