This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Need help compiling using mvision1

Hi
I have just started to work with compiler c5.0 compiler with mvision1 and I am getting this error message
Fatal Error 204 : invalid keyword
The source code I have has previously been working but the exact setup of the enviroment has been lost.
What I am doing wrong?
Cheers
Nick

Parents Reply Children
  • "I have only just started on the keil compiler"

    So when you said this code has been working before, was that on the motorola compiler?

    If so, it is highly likely that you've used some motorola-specific extension(s) that are not supported by Keil.

    I'm afraid it's Please read the manual time to find out precisely what the Keil tools do & don't support, and their specific restrictions, enhancements, etc...

  • Neil

    no the code has been already written for the keil compiler but the motorola code was written while I was working for another company.
    I have just started with this company and I am fairly junior in regards to the embedded world.
    Would you mind if I send you the link file and you have a look at it.Do you think?
    I have read the C primer and I think I will have to sit and read this getting started guide.
    Nick

  • Why don't you just list the line where the compiler reported the invalid keyword?

    For what it's worth, there are only a few keywords that are added to the C language by the Keil C51 compiler. A list can be found at: http://www.keil.com/support/man/docs/c51/c51_le_keywords.htm.

    Jon