Finished commenting of am1_interpreter.cpp and corrected the behaviour of ret