Not sure what's up, but I do know that the newer versions of EWARM are way
more finicky about having correct C syntax.
Your code worked fine for me using EWARM 5.40 but I had to
change the jmp to a branch instruction because it did not know what a jmp
instruction was. That seems fine to me though.
The changes in IAR's requirements are why I have not updated to the newer
versions of EWARM. Our code is working as is, even though we have to get around
some IAR bugs with 5.40 Newer versions don't quite compile "as
is" without modifications and so would require a complete and lengthy test
of the workings of our products, so we'll just use the old stuff for
now.
boB