Syntax
inswh $s_reg1, $s_reg2, $d_reg
inswh $d_reg/$s_reg1, $s_reg2
inswh $s_reg1, val_immed, $d_reg
inswh $d_reg/$s_reg1, val_immed
Description
Insert Word High shifts the register $s_reg1 right by 0-7 bytes, inserts the word into a field of zeros, and then puts the result in the destination register. Bits 0-2 of register $s_reg2 or the immediate value specifies the byte shift count.