Fixed changing modes between Assembler and Code