CLREX

Clear exclusive

This instruction clears the local monitor of the executing PE.

Encoding: System

313029282726252423222120191817161514131211109876543210
1101010100000011001101011111
CRmop2Rt

CLREX {#<imm>}

Decoding algorithm

// CRm field is ignored

Operation

ClearExclusiveLocal(ProcessorID());

Explanations

<imm>: Is an optional 4-bit unsigned immediate, in the range 0 to 15, defaulting to 15 and encoded in the "CRm" field.