def comp(current_command):
	"""Return comp Mnemonic of current C-Command"""

	#remove the dest part of command if exists (part before =)
	command_without_dest = current_command.split("=")[-1]
	#remove jump part of command if exists (part after ;)
	comp_command = command_without_dest.split(";")[0]
	return comp_command