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

EXTS instruction sometimes doesn't work in CLASS B trap handler

Hi,
I've got exactly the problem as in this thread:
http://www.keil.com/forum/docs/thread171.asp

That was 6.5 years ago! Have you heard of a fix of some kind for this problem. The workaround is very complex and I'd rather not use it.
In my program, the EXTS instruction sometimes works and some other times is ignored and I can't find out why.

Parents
  • I've just checked on the latest version of the instruction set manual and this has been clarified by the following text:
    "Within a ClassA or ClassB trap service routine EXTend instructions do not work (i.e. override the DPP mechanism) as long as any of the ClassB trap flags is set."
    However, I've seen one example where it did work and that confused me. That just means "do not work" should be understand "should not be used".

    So my conclusion is: allways check that you have the latest version of the manual!

Reply
  • I've just checked on the latest version of the instruction set manual and this has been clarified by the following text:
    "Within a ClassA or ClassB trap service routine EXTend instructions do not work (i.e. override the DPP mechanism) as long as any of the ClassB trap flags is set."
    However, I've seen one example where it did work and that confused me. That just means "do not work" should be understand "should not be used".

    So my conclusion is: allways check that you have the latest version of the manual!

Children
No data