Skip to content

BNDSXX

Operation

Checks signed value membership in the exclusive-exclusive interval (lo, hi).

Assembler Syntax

BNDSXX.{B|W|L|Q}(z) Rn(l), <ea>(e), Rn(h)

BNDSXX.{B|W|L|Q}(z) Rn(l), Rn(v), Rn(h)

Privilege

Unprivileged

Repeat eligibility

REP eligible; REPcc observes computed

BNDSXX treats both bounds as exclusive. It sets FLAGS.V when signed(value) is outside (signed(lo), signed(hi)) and clears FLAGS.Z, FLAGS.N, and FLAGS.C. The B-sized 0 or 1 violation result supplies the REPcc observed value.

2.75in

Encodings

BNDSXX.{B|W|L|Q}(z) Rn(l), <ea>(e), Rn(h)

Format: Instruction format for BNDSXX.{B|W|L|Q}(z) Rn(l), <ea>(e), Rn(h)

Format: Instruction format for BNDSXX.{B|W|L|Q}(z) Rn(l), <ea>(e), Rn(h)

2.75in BNDSXX.{B|W|L|Q}(z) Rn(l), Rn(v), Rn(h)

Format: Instruction format for BNDSXX.{B|W|L|Q}(z) Rn(l), Rn(v), Rn(h)

Format: Instruction format for BNDSXX.{B|W|L|Q}(z) Rn(l), Rn(v), Rn(h)