Skip to content

BNDSII

Operation

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

Assembler Syntax

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

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

Privilege

Unprivileged

Repeat eligibility

REP eligible; REPcc observes computed

BNDSII treats both bounds as inclusive. 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

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

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

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

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

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

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