Address memory using the right variable.