Extract Word Low (extwl)

Syntax

extwl $s_reg1, $s_reg2, $d_reg

extwl $d_reg/$s_reg1, $s_reg2

extwl $s_reg1, val_immed, $d_reg

extwl $d_reg/$s_reg1, val_immed

Description

Extract Word Low shifts the register $s_reg1 right by 0-7 bytes, inserts zeros into the vacated bit positions, and then extracts the two low-order bytes and stores them in the destination register. The six high-order bytes of the destination register are cleared to zeros. Bits 0-2 of register $s_reg2 or the immediate value specifies the byte shift count.