This document discusses two types of addressing modes: based addressing mode and indexed addressing mode. Based addressing mode uses a base register and displacement to calculate the effective address. Indexed addressing mode uses the contents of an index register plus a constant to calculate the effective address. Examples are provided of code using each addressing mode, such as summing array elements using based addressing mode and converting a string to uppercase using indexed addressing mode.