Parse, analyze, and emit memory references.