--- Quote Start ---
secondly- I allready have a GUI software which converts "my language" into MIF file, so for activating a robot by "my language" i have to follow the MIF file .
--- Quote End ---
From this comment then, I take it that you understand how to create the MIF file.
--- Quote Start ---
i wrote a ROM program (by lpm), and i wrote a program counter which counts up the addresses. but it does not work...
--- Quote End ---
This comment is a little confusing.
Do you understand how to create a Modelsim simulation? If so, have you created a testbench that reads the ROM and confirms that the bytes are what you expect?
That would be the first step in confirming that your MIF file has been created correctly.
Cheers,
Dave