SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
Move 16-Bit Unsigned Constant to Upper Bits of Control Register
MVCH ucst16, creg
Functional unit = S
32 bit
31 | 16 | 15 | 14 | 13 | 12 | 8 | 7 | 6 | 0 |
ucst16 | x | x | x | creg | x | 0 | 0 | 0 | 1 | 1 | 0 | 0 |
16 | 5 | opcode |
A 16-bit unsigned constant (ucst16) is moved to the upper halfword (bits 31-16) of the control register (creg). The lower halfword (bits 15-0) of creg is left unchanged.
None
creg[31:16] = ucst16