created: 07/08/01

# CHAPTER 13 — Addition and Subtraction Instructions

This chapter discusses the MIPS instructions for performing 32-bit integer addition and subtraction. Some topics of integer representation with bit patterns are reviewed.

#### Chapter Topics:

- Overflow in unsigned binary and two's complement (review).
- The `add` and `addu` instructions.
- Sign extention
- The `addi` and `addiu` instructions.
- The `sub` and `subu` instructions.
- Using `addi` to load a register with a negative integer.

### QUESTION 1:

Say that a processor has a full set of bit manipulation instructions. Can it do arithmetic with these instructions?