created: 07/04/01

# CHAPTER 11 — Immediate Operands and Bitwise Logic

Some machine instructions contain data as part of the instruction. This data is an immediate operand. The `ori` instruction used in the previous chapter contains an immediate operand.

With a bitwise logic operation two bit patterns are "lined up" and then an operation such as OR or AND is performed between pairs of bits.

#### Chapter Topics:

- Immediate Operands.
- Bitwise Logic.
- Bitwise OR, AND, and XOR
- Format of Machine Instructions.
- Zero Extension of a Bit Pattern.
- OR Immediate with $0 as a Load Instruction.

### QUESTION 1:

Could a 32-bit MIPS instruction have room for a 16-bit two's complement integer?