mtfsb0

Move To FPSCR Bit 0

mtfsb0 BT

Clears a specific bit in the FPSCR.

Details

The mtfsb0 instruction sets the specified bit in the FPSCR (Floating-Point Status and Control Register) to the value of the U field. If the FX bit is altered, it is set based on the U field.

Pseudocode Operation

FPSCR[BT] ← U
FX is altered only if BT=0.

Programming Note

The mtfsb0 instruction sets a specific bit in the FPSCR register to the value of the U field. It's commonly used for controlling floating-point exceptions and status flags. Be cautious when altering the FX bit, as it affects exception handling. This instruction operates at user privilege level.

Example

mtfsb0 0

Encoding

Binary Layout
63
0
BT
6
/
11
/
16
70
21
/
31
 
Format X-form
Opcode 0xFC00008C
Extension Floating-Point
Registers Altered FPSCR

Operands

  • BT
    Bit Index