revise code generation for 'mov' instruction. fix some other translation errors.