Skip to content

BFINS

Operation

Inserts low source bits into a contiguous destination bitfield.

Assembler Syntax

BFINS.{B|W|L|Q}(z) imm6(l), imm6(w), Rn(s), Rn(d)

Privilege

Unprivileged

Required CPUID flags

BFINS

Repeat eligibility

REP eligible; REPcc observes dst

Replaces extttimm6(w)+1 destination bits beginning at bit extttimm6(l) with the same number of low source bits. Destination bits outside the field are preserved. An encoding is invalid when the selected field extends past the operand width.

2.75in

Encodings

BFINS.{B|W|L|Q}(z) imm6(l), imm6(w), Rn(s), Rn(d)

Format: Instruction format for BFINS.{B|W|L|Q}(z) imm6(l), imm6(w), Rn(s), Rn(d)

Format: Instruction format for BFINS.{B|W|L|Q}(z) imm6(l), imm6(w), Rn(s), Rn(d)