code: def do_setmode(self, arg):
          ''' shift from ASM to DISASM '''
          op_modes = config.get_op_modes()
          if arg in op_modes:
              op_mode = op_modes[arg]
              op_mode.cmdloop()
          else:
              print("Error: unknown operational mode, please use 'help setmode'."f do_setmode(self, arg):
          ''' shift from ASM to DISASM '''
          op_modes = config.get_op_modes()
          if arg in op_modes:
              op_mode = op_modes[arg]
              op_mode.cmdloop()
          else:
              print("Error: unknown operational mode, please use 'help setmode'.")
docs: shift from ASM to DISASM