BNDCU/BNDCN—Check Upper BoundInstruction Operand EncodingDescriptionCompare the address in the second operand with the upper bound in bnd. The second operand can be either a register or a memory operand. If the address is higher than the upper bound in bnd.UB, it will set BNDSTATUS to 01H and signal a #BR exception.BNDCU perform 1’s complement operation on the upper bound of bnd first before proceeding with address compar-ison. BNDCN perform address comparison directly using the upper bound in bnd that is already reverted out of 1’s complement form. This instruction does not cause any memory access, and does not read or write any flags. Effective address computation of m32/64 has identical behavior to LEAOperationBNDCU BND, regIF reg > NOT(BND.UB) ThenBNDSTATUS := 01H; #BR; FI;BNDCU BND, memTEMP := LEA(mem); IF TEMP > NOT(BND.UB) ThenBNDSTATUS := 01H; #BR; FI;BNDCN BND, regIF reg > BND.UB ThenBNDSTATUS := 01H; #BR; FI;Opcode/InstructionOp/En64/32 bit Mode SupportCPUID Feature FlagDescriptionF2 0F 1A /rBNDCU bnd, r/m32RMNE/VMPXGenerate a #BR if the address in r/m32 is higher than the upper bound in bnd.UB (bnb.UB in 1's complement form).F2 0F 1A /rBNDCU bnd, r/m64RMV/NEMPXGenerate a #BR if the address in r/m64 is higher than the upper bound in bnd.UB (bnb.UB in 1's complement form).F2 0F 1B /rBNDCN bnd, r/m32RMNE/VMPXGenerate a #BR if the address in r/m32 is higher than the upper bound in bnd.UB (bnb.UB not in 1's complement form).F2 0F 1B /rBNDCN bnd, r/m64RMV/NEMPXGenerate a #BR if the address in r/m64 is higher than the upper bound in bnd.UB (bnb.UB not in 1's complement form).Op/EnOperand 1Operand 2Operand 3RMModRM:reg (w)ModRM:r/m (r)NA
This UNOFFICIAL reference was generated from the official Intel® 64 and IA-32 Architectures Software Developer’s Manual by a dumb script. There is no guarantee that some parts aren't mangled or broken and is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.