Skip to content

BNDSIX

Operation

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

Assembler Syntax

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

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

Privilege

Unprivileged

Repeat eligibility

REP eligible; REPcc observes computed

BNDSIX treats the low bound as inclusive and the high bound 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

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

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

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

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

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

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