(CNN) -- Eyptian President Mohamed Morsy slammed the Syrian government Thursday, describing it as an "oppressive regime that has lost its legitimacy." Egypt's first democratically elected president was speaking at the Non-Aligned Movement summit in Iran.