User functions and revamp

Added EAMODE, ANMODE, AND DNMODE user functions.  Completed more instructions.