SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
Load MRx with 16-Bit Value
| MRa | CLA floating-point destination register (MR0 to MR3) |
| mem16 | 16-bit source memory location |
LSW: mmmm mmmm mmmm mmmm
MSW: 0111 0101 10aa addr Move the 16-bit value referenced by mem16 to the floating-point register indicated by MRa.
MRa(31:16) = 0;
MRa(15:0) = [mem16]; This instruction modifies the following flags in the MSTF register:
| Flag | TF | ZF | NF | LUF | LVF |
|---|---|---|---|---|---|
| Modified | No | Yes | Yes | No | No |
The MSTF register flags are modified based on the integer results of the operation.
NF = 0;
if (MRa(31:0)== 0) { ZF = 1; } This is a single-cycle instruction.