pkhbt

Pack Halfword Bottom Top

PKHBT<c> <Rd>, <Rn>, <Rm> {, LSL #<imm>}

Combines bottom half of Rn with top half of shifted Rm.

Details

The Pack Halfword Bottom Top instruction combines bottom half of Rn with top half of shifted Rm.

Pseudocode Operation

// Combines bottom half of Rn with top half of shifted Rm

Example

PKHBT r0, r1, r2

Encoding

Binary Layout
cond
01101000
Rn
Rd
shift
0
01
Rm
 
Format Data Proc
Opcode 0x06800010
Extension A32 (DSP)

Operands

  • Rd
    Destination general-purpose register
  • Rn
    Bottom Src
  • Rm
    Top Src