SPRUHM8K December 2013 – May 2024 TMS320F28374D , TMS320F28375D , TMS320F28376D , TMS320F28377D , TMS320F28377D-EP , TMS320F28377D-Q1 , TMS320F28378D , TMS320F28379D , TMS320F28379D-Q1
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.