mtfsb1

Move To FPSCR Bit 1

mtfsb1 BT

Sets a specific bit in the FPSCR.

Details

The mtfsb1 instruction sets the bit at position 1 in the FPSCR (Floating-Point Status and Control Register) to 1.

Pseudocode Operation

FPSCR[1] ← 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
 
Format X-form
Opcode 0xFC00004C
Extension Floating-Point
Registers Altered FPSCR

Operands

  • BT
    Bit Index