SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
Move 16-Bit Unsigned Constant to Upper Bits of Register
MVKH ucst16, dst
Functional unit = S
32 bit
31 | 16 | 15 | 13 | 12 | 10 | 9 | 0 |
ucst16 | dst | dst | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 |
16 | 3 | 3 | opcode |
A 16-bit unsigned constant (ucst16) is moved to the upper halfword (bits 31-16) of dst. The lower halfword (bits 15-0) of dst is left unchanged.
CSR:EQ = (dst == 0)
dst[31:16] = ucst16