the final way to set masks is using logical set mask. these instructions perform either and or nand, and then set the destination opmask based on the result values being zero or non-zero. note that like the comparison instructions, these take two opmask registers, one as destination and one a regular opmask.