mffs

Move From FPSCR

mffs FRT
mffs. FRT

Moves the contents of the Floating-Point Status and Control Register (FPSCR) into a floating-point register.

Details

The mffs instruction places the contents of the FPSCR into the specified floating-point register FRT. If Rc=1, CR field 1 is set to the value FX||FEX||VX||OX.

Pseudocode Operation

if 'mffs' then
    FRT <- FPSCR
if 'mffs.' then
    FRT <- FPSCR
    CR1 <- FX || FEX || VX || OX

Programming Note

When Rc=1, CR1 is set from the FPSCR[FX, FEX, VX, OX] bits immediately after the operation completes.

Extended Mnemonics

Extended Mnemonic Equivalent Instruction

Example

mffs f1

Encoding

Binary Layout
63
0
FRT
6
/
11
/
16
583
21
Rc
31
 
Format X-form
Opcode 0xFC00048E
Extension Floating-Point
Registers Altered FPSCR, CR1, (if, Rc=1), CR0

Operands

  • FRT
    Target