created: 06/05/2002

# CHAPTER 24 ― Branch and Comparison Pseudoinstructions

The MIPS hardware has several instructions for branching and looping. These fundamental instructions are used in to create many pseudoinstructions that give added flexibility.

#### Chapter Topics:

- Branch instructions
- Immediate operands in branch instructions
- Set instructions
- Indexed Addressing
- Byte arrays
- Integer arrays

Note: for the example programs in this chapter, assume that the SPIM simulator has been set so that pseduoinstrictions are ON, delayed branches are OFF, and delayed loading is OFF.

### QUESTION 1:

(Review:) What is a conditional branch?