go to previous page   go to home page   go to next page hear noise highlighting

Answer:

Use "less than" with the operations reversed.


Branch Instructions

InstructionOperation
bc1t labelbranch to   label  if the coprocessor 1 condition bit is true
bc1f labelbranch to   label  if the coprocessor 1 condition bit is false

The floating point branch instructions inspect the condition bit in the coprocessor.

These are the only two floating point branch instructions.

The branch instructions have a one instruction branch delay. Hardware requires a nop instruction after each branch instruction. For this chapter, let us not bother with this. When running the programs with SPIM, disable branch delays in the settings menu.


QUESTION 4:

Where does execution of the bc1t instruction take place? In the FPU or the CPU?


go to previous page   go to home page   go to next page