Chapter 6 0BApplied Instructions D20 2 Pointer S 1 b0 b0 b47 MCMP b0 S 2 b47 Additional remark: 1. The description of the operation error code: If the devices S 1 +n -1 and S 2 +n -1 exceed the range, the instruction MCMP is not executed, SM is ON, and the error code in SR0 is 16#2003. If the value in the operand n is not within the range between 1 and 256, the instruction MCMP is not executed, SM is ON, and the error code in SR0 is 16#200B. 2. The description of the flags: SM607: It is the matrix comparison flag. ON: Comparing the equivalent values OFF: Comparing the different values SM608: The matrix comparison comes to an end. When the last bits are compared, SM608 is ON. SM609:
When SM609 is ON, the comparison starts from bit 0. SM610: It is the matrix bit search flag. When the matching bits are compared, the comparison stops immediately, and SM610 is ON. SM611: It is the matrix pointer error flag. When the value of the pointer exceeds the comparison range, SM611 is ON. 6-30 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1