mtfsb0
Move To FPSCR Bit 0
mtfsb0 BT
Clears a specific bit in the FPSCR.
Details
Clears (sets to 0) the FPSCR bit specified by BT. The FPSCR bits are numbered 0–31. Clearing certain FPSCR bits (e.g., exception bits or mode flags) can alter the behavior of subsequent floating-point operations.
Pseudocode Operation
FPSCR[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
Operands
-
BT
Bit Index