code: def execute(self, container, start=None, end=None, registers=None):
          
          if registers:
              self.__cpu.registers = dict(registers)
  
          ip = start if start else container[0].address
  
          while ip and ip != end:
              try:
                  instr = container.fetch(ip)
              except ReilContainerInvalidAddressError:
                  logger.info("Invalid address: {:#010x}:{:#02x}".format(ip >> 8, ip & 0xff))
  
                  raise ReilCpuInvalidAddressError()
  
              next_ip = self.__execute_one(instr)
  
              ip = next_ip if next_ip else container.get_next_address(ip)
  
          return dict(self.__cpu.registers), self.__mem
docs: Execute instructions.