SPRUJ53B April 2024 – September 2024 TMS320F28P550SJ , TMS320F28P559SJ-Q1
Convert Unsigned 16-Bit Integer to 32-Bit Floating-Point Value
MRa | CLA floating-point destination register (MR0 to MR3) |
mem16 | 16-bit source memory location |
LSW: mmmm mmmm mmmm mmmm
MSW: 0111 0101 01aa addr
When converting F32 to I16/UI16 data format, the MF32TOI16/UI16 operation truncates to zero while the MF32TOI16R/UI16R operation rounds to the nearest (even) value.
MRa = UI16TOF32[mem16];
This instruction does not affect any flags:
Flag | TF | ZF | NF | LUF | LVF |
---|---|---|---|---|---|
Modified | No | No | No | No | No |
This is a single-cycle instruction.