mtfsb1
Move To FPSCR Bit 1
mtfsb1 BT
Sets a specific bit in the FPSCR.
Details
Sets (sets to 1) the FPSCR bit specified by BT. The FPSCR bits are numbered 0–31. Setting certain FPSCR bits (e.g., rounding mode or enable flags) can alter the behavior of subsequent floating-point operations.
Pseudocode Operation
FPSCR[BT] ← 1
Programming Note
This instruction is used to enable a specific floating-point exception. Ensure that the FPSCR register is properly managed to avoid unintended exceptions. This operation requires supervisor privilege level.
Example
mtfsb1 0
Encoding
Binary Layout
63
0
BT
6
/
11
/
16
38
21
/
31
Operands
-
BT
Bit Index