code: def checkargs(self, lineno, command, args):
  		
  		for wanted, arg in zip(command.argtypes(), args):
  			wanted = wanted.type_
  			if(wanted == "register" and (not arg in self.register)):
  				raise ArgumentError("[line {}]: Command '{}' wants argument of type register, but {} is not a register".format(lineno, command.mnemonic(), arg))
  			if(wanted == "const" and (arg in self.register)):
  				raise ArgumentError("[line {}]: Command '{}' wants argument of type const, but {} is a register.".format(lineno, command.mnemonic(), arg))
docs: Check if the arguments fit the requirements of the command.
  
  		Raises ArgumentError_, if an argument does not fit.