SPRUHX5I August 2014 – May 2024 TMS320F28374S , TMS320F28375S , TMS320F28375S-Q1 , TMS320F28376S , TMS320F28377S , TMS320F28377S-Q1 , TMS320F28378S , TMS320F28379S
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.