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

declaration link register R14

Hi everybody,

I actually work on a LPC2103, and I have a problem with a inline assembler.

In fact, I want to modify the Link Register R14, at the end of an interruption, in order to return in Main Programm at an other location.

But when I compile my programm, the compiler print this error:" error #20: identifier "R14" is undifined.

The problem is that I don't know how you can declare this kind of register.

thank in advance

Chris

Parents
  • I saw that I had the wrong approach of my problem, and you allow me to see it.<p>

    Wow ... that was fast and easy. Good luck with your program !

    Usually, your question pops up in this forum at least once a month, and will usually result in the original poster becoming quite angry at everyone else and that they're so mean and don't tell him how to turn his simple program into a true nightmare to debug and maintain. (And on top of that, the original poster seems to be working with an 8051-type chip in most cases, which is even more unsuited for this type of hack than an ARM chip).

Reply
  • I saw that I had the wrong approach of my problem, and you allow me to see it.<p>

    Wow ... that was fast and easy. Good luck with your program !

    Usually, your question pops up in this forum at least once a month, and will usually result in the original poster becoming quite angry at everyone else and that they're so mean and don't tell him how to turn his simple program into a true nightmare to debug and maintain. (And on top of that, the original poster seems to be working with an 8051-type chip in most cases, which is even more unsuited for this type of hack than an ARM chip).

Children
No data